Scheduling Automatic Tasks
When system operation requires that products be generated regularly, you can schedule a task to run at regular intervals and assign priorities to each task.
-
Set the task start, stop, and repeat times:
-
Start specifies the first time after midnight that the task runs.
-
Stop specifies the last time after midnight that the task runs.
If a task should run all day, specify None.
-
Repeat specifies the interval between successive runs.
-
-
Adjust the scheduling so that no conflicts occur, that is, so that tasks are not
scheduled to run at the same time.
If, for example, you create new tasks, even well-planned schedules can fall behind, creating scheduling conflicts that must be resolved.
-
When prioritizing tasks, consider:
- Mandatory tasks always interrupt non-mandatory tasks.
- Mandatory tasks can never be interrupted.
- If a Mandatory task is late and the Skip flag is set to No, it runs before non-mandatory tasks.
- If more than one Mandatory task with the Skip flag is set to No is late, the latest task runs first.
When the go ASAP command runs a task immediately, the priority of the task is used to resolve conflicts as described above. The Skip flag does not apply because the task runs only once.
- If a task runs consistently late, analyze and adjust the overall scheduling.
| Schedule | Task | Start Time | Stop Time | Repeat |
|---|---|---|---|---|
| Hourly, on the hour, all day | 00:00:00 | None | 01:00:00 | |
| 5 minutes after the hour, every 15 minutes, all day | 00:05:00 | None | 00:15:00 | |
| Two Identical Tasks with Different IDs and Scheduled at Different Times | ||||
|
First task schedule:
|
1 | 02:30:00 | 08:30:00 | 02:00:00 |
|
Second task schedule:
|
2 | 09:30:00 | 01:30:00 | 01:00:00 |
