Using Recurrences
Recurrences are used to automatically reschedule processes in a trivial way. Similar to submit frames, recurrences are in effect temporary submit frames. Redwood Server generates a submit frame for processes submitted with a repetition. These runtime submit frames and time windows are deleted by the System process definition System_ProcessKeepClauses that runs in the background.
You specify the recurrence in the submit wizard, by selecting one of the repetitions:
- daily
- weekly
- monthly
- yearly
- dates
See the Using Submit Frames in Processes and Creating Submit Frames sections for more information.
The default value for the pre-submit count in the submit wizard is set to 1
and can be overridden by the registry entry/configuration/jcs/recurrence/DefaultPreSubmit
. Without submit frame, the default restart count is 10
. At every system startup, an operator message is created if the /configuration/jcs/recurrence/DefaultPreSubmit
key does not exist or is invalid.
Note that processes with a restart count do not wait for each other, Redwood Server simply makes sure that <n>
processes in a non-final state are in the recurrence.
Generated Submit Frames
Note that the automatically generated submit frames are named SF_System_<number>
. They will be modified as soon as the recurrence pattern is modified, Redwood would like to strongly discourage you from using automatically generated submit frames with other objects.
You edit generated submit frames by changing the recurrence pattern of the recurrence.
Procedure
- Choose "Definitions > Processes".
- From the context-menu of a process definition, choose Submit.
- Choose Time and Dates.
- Choose Daily.
- Fill in the fields.
- Choose Submit.
Example
- Choose "Definitions > Processes".
- From the context-menu of the System_info process definition, choose Submit.
- Choose Time and Dates.
- Choose Daily to end after 10 occurrences.
- Choose Submit.