Task Scheduling¶
Workflow tasks can be scheduled for automated execution at defined intervals. The scheduling configuration depends on the task type:
Start Point Tasks: If the task is a workflow starting point, Emakin periodically initiates new workflow instances based on the schedule and executes the evaluation script. The workflow proceeds to the next step after any action is taken.
Normal Tasks: For intermediate tasks, Emakin periodically checks for waiting tasks and executes the evaluation script. The workflow advances to the next step after any action.
Schedule Options¶
Enabled: Check to enable scheduled operation.
Schedule: Defines the scheduling rule (see Schedule Rules).
Script: The script executed when a scheduled event occurs.
Schedule Rules¶
Task scheduling uses repeating intervals and schedule rules. The interval defines the duration until the next scheduled execution (days, hours, or minutes). Schedule rules specify timeframes to exclude from the repetition. Without rules, the task repeats continuously (7x24). Rules can be Daily, Weekly, Yearly, or Annual, and chained together.
Common Schedule Examples¶
The following examples illustrate common schedules. Note that <Schedule Name="">
can be replaced with a descriptive name.
Daily Schedule (Runs daily at 4 PM)¶
Repeat Period: 10 Minutes
1 2 3 4 5 6 7 |
|
Weekly Schedule (Runs every day except Sunday and Saturday)¶
Repeat Period: 1 Day
1 2 3 4 5 6 |
|
Weekly Schedule (Runs only on Mondays)¶
Repeat Period: 1 Day
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Yearly Schedule (Runs on the 1st of every month)¶
Repeat Period: 1 Day
1 2 3 4 5 |
|
Yearly Schedule (Runs on April 10th of every year)¶
Repeat Period: 1 Month
1 2 3 4 5 6 |
|
Annual Schedule (Runs every day except February 25th, 2000)¶
1 2 3 4 5 |
|