This page explains how to setup schedules to run workflows (similar settings can be used for scheduled Import/Export of Configuration). There are three types of schedules:
- Once-off
- Daily
- Cron
Warning: Be aware of the transition hours for daylight saving. Avoid schedules that run between 2:00 AM and 3:00 AM hours during transitions in and out of daylight saving time.
Once-off
Once off schedules are useful for situations where you need to run a workflow a specific time, but (as the name implies) only once. To add a Once Off Schedule:
- In the Administration area select Workflows > Schedules.
- In ONCE OFF SCHEDULE, select +NEW. The Schedule One Off form displays.
- Add a Name and Description for the schedule.
- In the Application field, select the Pencil icon. The Select Application dialogue appears.
- Select the Application you want and select OK.
- Complete the Date and Time field : a specified date and time
- Select Save to save the schedule.
Daily
To add a Daily Schedule:
- In the Administration area select Workflows > Schedules.
- In DAILY REPEAT SCHEDULE, select +NEW. The Schedule Daily Repeat form displays.
- Add a Name and Description for the schedule.
- In the Application field, select the Pencil icon. The Select Application dialogue appears.
- Select the Application you want and select OK.
- Complete the fields, including:
- Days: the days of the week the schedule applies to
- Time of day: specified time of the day
- Select Save to save the schedule.
Cron
Cron is a highly flexible scheduling tool, ReadiNow uses a 'Quartz Scheduler' and the Quartz variant of cron. To use cron with ReadiNow you need to understand the basics of a 'cron expression'. A workflow can be triggered by multiple schedules.
The following steps explain how to setup a schedule based on a cron expression:
- In the Administration area select Workflows > Triggers.
- Click +New from the ‘Trigger on Schedule’ container. The Trigger on Schedule form displays.
- Add a Name and Description for the schedule.
- In the Application field, select the Pencil icon. The Select Application dialogue appears.
- Select the Application you want and select OK.
- Complete the fields, Workflow to run: specify which workflow to run when trigger condition is met
- Specify schedule: select +New > Schedule Cron. The Schedule Cron form displays.
- Add a Name and Description for the schedule.
- Enter a cron expression in the 'Cron definition' field.
- Click Save to save the trigger.