Task Scheduling¶
Workflow tasks can be scheduled to perform automated tasks in intervals.
Configures the task to perform scheduled operations depending on the task type:
Start Point
If the task is configured as a start point, emakin periodically initiates new instances depending on the schedule and executes the evaluation script. When any action is taken, it continues to the next step of a workflow.
Normal
If the task is configured as an intermediate task, emakin periodically checks any waiting tasks and executes the evaluation script on it. When any action is taken, it continues to the next step of a workflow.
Schedule Options¶
Enabled
Check this field to enable scheduled operation.
Schedule
Schedule of evaluation.
Script
Script to execute when scheduled event occurs.
Schedule Rules¶
Task scheduling consists of repeating intervals and schedule rules.
Interval defines the duration for next scheduled time and may be defined in day, hour or minute units.
Schedule rules define the time frames that should be excluded from repetition intervals. When schedule rules are not defined, the task is repeated within the 7x24 time frame. Calendar rules can be defined as Daily, Weekly, Yearly, or Annually and can be added successively to define rule chains.
Common Schedules¶
Daily Schedule¶
Performs every day, exactly at 16:00:00.
[!INFO] Repeat Period: 10 Minute
1 2 3 4 5 6 7 |
|
Weekly Schedule¶
Performs every day except Sunday and Saturday.
[!INFO] Repeat Period: 1 Day
1 2 3 4 5 6 |
|
Performs only once on Mondays.
[!INFO] Repeat Period: 1 Day
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Yearly Schedule¶
Performs every 1st day in all months (Example: 20XX-XX-01)
[!INFO] Repeat Period: 1 Day
1 2 3 4 5 |
|
Performs at the beginning of the 4th month of every year (Example: 20XX-04-01)
[!INFO] Repeat Period: 1 Month
1 2 3 4 5 |
|
Performs on the 10th day of a 4th month of every year (Example: 20XX-04-10)
[!INFO] Repeat Period: 1 Month
1 2 3 4 5 6 |
|
Annual Schedule¶
It performs on a yearly basis. It basically excludes the given date and runs the scheduled task every day except the given one.
1 2 3 4 5 |
|