commands – job schedule (monthly)
Add/delete a monthly job schedule.
Usage
job schedule (add|delete) name (1st|2nd|3rd|4th|5th|last) day of month at hh:mm[:ss]
job schedule (add|delete) name [(2nd|3rd|4th|…)] last day of month at hh:mm[:ss]
job schedule (add|delete) name last weekday of month at hh:mm[:ss]
job schedule (add|delete) name (1st|2nd|3rd|4th|…) [or closest weekday] \
of month at hh:mm[:ss]
where
add | add the specified schedule. |
delete | delete the specified schedule. |
name | of job whose schedule to add/delete. |
day | to trigger, where day is one of mon[day], tue[sday], wed[nesday], thu[srday], fri[day], sat[urday], sun[day]. |
hh:mm[:ss] | Time to trigger. |
write on name
Examples
Schedule a job to run on the first weekday of the month
BeyondCron % job schedule add /server1/start-of-month 1st or closest weekday of month at 09:00
BeyondCron % job show $$
----------- --------------------------- Name /server1/start-of-month Description First business day of month ... Schedules 1st or closest weekday of month at 09:00:00 ...
Delete a job schedule
BeyondCron % job schedule delete /server1/start-of-month 1st or closest weekday of month at 09:00
BeyondCron % job show $$
----------- --------------------------- Name /server1/start-of-month Description First business day of month ... Schedules ...
Schedule a job on the first Friday of month
BeyondCron % job schedule add /sowa/first-friday 1st friday of month at 17:00
BeyondCron % job show $$
----------- ------------------------------- Name /sowa/first-friday Description SoWa First Fridays ... Schedules 1st Friday of month at 17:00:00 ...
Schedule a job on the last Friday of the month
BeyondCron % job schedule add /slack/critical-mass last friday of month at 17:00
BeyondCron % job show $$
----------- -------------------------------- Name /slack/critical-mass Description Last Friday of the month ... Schedules last Friday of month at 17:00:00 ...
See also
- job schedule