Schedule

The schedule function configures the type of schedule to run, including one-time only (oneshot), periodic or calendar-based runs. All runs are determined by month, day of month or weekday, hour, minute and interval (seconds). If end-time and interval are both configured, whichever condition is reached first is applied.

config>system>cron# schedule test2
    — config>system>cron>sched# day-of-month 17
    — config>system>cron>sched# end-time 2007/07/17 12:00
    — config>system>cron>sched# minute 0 15 30 45
    — config>system>cron>sched# weekday friday
    — config>system>cron>sched# shut

The following example schedules a script named ‟test2” to run every 15 minutes on the 17th of each month and every Friday until noon on July 17, 2007:

*A:SR-3>config>system>cron# info 
----------------------------------------------
        schedule "test2"
            shutdown
            day-of-month 17           
            minute 0 15 30 45
            weekday friday 
            end-time 2007/07/17 12:00
        exit
----------------------------------------------
*A:SR-3>config>system>cron#