Setting the Scheduling Behavior on the Control Tab
You set the default values of scheduling parameters, which are also available in the submit wizard, on the Control tab.
- Restrict to Time Window/Time zone - Default time window/timezone combination of the process, timezone is only used when the time window has no timezone.
- Min open time window duration to fit process - Prevent the process from starting too close to the time window closing time; specified in milliseconds.
- Process Time Zone - the default time zone of processes based on this definition.
- Default Queue - the queue that should be used by default.
- Priority - the default priority of the job.
- Max priority - set the maximum priority that can be set in the submit wizard.
- Resource - Resources are used to locate process servers that offer the correct environment for the process; a processes that use a resource will only run on process servers that offer that resource and that have a free slot for the job.
- Hold On Submit - the default value for the scheduling parameter Hold on Submit which defines the status of the process after the submit. Can be
true
,false
(the default), or=<expression>
in Chain processes, which should be a boolean Redwood Expression Language expression. When a process is submitted on hold, human intervention is required to start it. - Monitor Schedule - Monitor the schedule of processes in the Monitoring Dashboard.
note
The time zone field is only used for the Restrict to Time Window functionality when the specified time window has no time zone. If the time window has a time zone, the time zone specified here will be ignored.
When a process has missed its window for execution, it is set to overdue, you may configure the reaction here.
- Act when processes are overdue - When a process has missed its window, change the status and/or raise an event.
- Set overdue processes to status
- Scheduled - process will be executed the next time the window opens.
- Overdue - marks the process as overdue, requires operator intervention.
- Canceling - cancels the process, may require operator intervention.
- Held - holds the process, requires operator intervention.
- Raise event for overdue processes
The following scheduling parameters are only available on Chain processes:
- Start Time - the start time of the chain process.
- Time Window - the time window that specifies the start time of the process.
Example
Specifying a Start Time
The start time scheduling parameter requires a date/time specification.
You can specify the start time as follows:
=Time.parse('2021 12 24 14:59:59', 'yyyy MM dd HH:mm:ss')
or
14:59:59
See Chain Processes for more information.
Taking other Time Windows into Account
A queue has a time window that is open Monday to Friday from 8:00AM to 5:00PM. A process server is serving the queue; the connection between process server and queue is named QueueProvider and has a time window Monday to Friday from 4:30PM to 7:45PM. A process must run on the process server in that queue. If you set a time window on the process, the time window must be open between 4:30PM and 4:59PM or the process will never run.
Taking Time Windows and different Time Zones into Account
A queue has a time window that is open Monday to Friday from 8:00AM to 5:00PM in Europe/Paris. A process server is serving the queue; the QueueProvider has a time window Monday to Friday from 3:30PM to 7:45PM in Europe/London. Remember that Europe/Paris is 1 hour ahead of Europe/London and that both observe DST changes, however, the switches occur at the same time. A process must run on the process server in that queue. If you set a time window on the process, the time window must be open between 4:30PM and 4:59PM Europe/Paris or 3:30PM and 3:59PM Europe/London otherwise the process will never run.
This can be complicated somewhat by DST changes when you use time zones from different regions of the world. See time windows for an example.
JobChain JobDefinition ProcessDefinition