# To batch create all events for a specific granularity and to send notices for all pending
# events with that same granularity.
- perl $0 --run-pending --granularity=hourly --process-hooks
+ perl $0 --run-pending --granularity=Hourly --process-hooks
HELP
}
<div class='hidden'>
<select dojoType='dijit.form.ComboBox' jsId='eventDefGranularity'>
- <!-- Option strings are intentionally
- un-translated since they are codes, not labels. -->
- <option>hourly</option>
- <option>daily</option>
- <option>weekdays</option>
- <option>weekly</option>
- <option>monthly</option>
- <option>yearly</option>
+ <option value='hourly'>[% l('Hourly') %]</option>
+ <option value='daily'>[% l('Daily') %]</option>
+ <option value='weekly'>[% l('Weekly') %]</option>
+ <option value='monthly'>[% l('Monthly') %]</option>
+ <option value='yearly'>[% l('Yearly') %]</option>
</select>
</div>
function loadEventDef() {
eventDefGranularity.attr('value', null);
- eventDefGranularity.ignoreCase = false;
edGrid.overrideEditWidgets.granularity = eventDefGranularity;
edGrid.overrideEditWidgets.granularity.shove = {"create": ""};
edGrid.loadAll({order_by:{atevdef : 'name, owner, hook, reactor, delay'}});
+++ /dev/null
-==== Upgrade Notes ====
-
-The 'granularity' field in the staff client Action Trigger Event
-Definition configuration interface (Admin -> Local Administration ->
-Notifications / Action Triggers) is now case sensitive. Previously,
-entering, for example, 'hourly' would be automatically modified to
-'Hourly'. Now, 'hourly' and 'Hourly' are each valid, distinct values,
-and the form field now always provides the lowercase value.
-
-This is important because the granularity values configured on the
-server for processing action/trigger events are case sensitive as
-well. When upgrading, please check that your saved values match the
-values used in your crontab.
| <<reactors, Reactor>> |Links the action trigger to the Reactor.
| <<validators, Validator>> |The subroutines receive the trigger environment as an argument (see the linked Name for the environment definition) and returns either _1_ if the validator is _true_ or _0_ if the validator returns _false_.
| Event Repeatability Delay |Allows events to be repeated after this delay interval.
-| Granularity |Used to group events by how often they should be run. Options are hourly, daily, weekdays, weekly, monthly, yearly, but you may also create new values.
+| Granularity |Used to group events by how often they should be run. Options are Hourly, Daily, Weekly, Monthly, Yearly, but you may also create new values.
|===============================================
pending events with that same granularity.
+
----
-perl action_trigger_runner.pl --run-pending --granularity=hourly --process-hooks
+perl action_trigger_runner.pl --run-pending --granularity=Hourly --process-hooks
----