commands – job schedule (daily)
Add/delete a daily job schedule.
Usage
job schedule (add|delete) name days at hh:mm[:ss]
where
add | add the specified schedule. |
delete | delete the specified schedule. |
name | of job whose schedule to add/delete. |
at | Define a daily schedule. |
days | Space separated list of days to trigger . Where day is one of mon, tue, wed, thu, fri, sat, sun, daily, weekdays or weekend. |
hh:mm[:ss] | Time to trigger. |
write on name
Examples
Schedule a job to run once a week
BeyondCron % job schedule add /server1/reboot sat at 02:00
BeyondCron % job show $$
----------- --------------- Name /server1/reboot Description Weekly reboot ... Schedules sat at 02:00:00 ...
Schedule a job to run Monday to Friday
BeyondCron % job schedule add /server1/backup mon tue wed thu fri at 23:50
BeyondCron % job show $$
----------- ------------------- Name /server1/backup Description Business day backup ... Schedules mon tue wed thu fri at 23:50:00 ...
Delete a job schedule
BeyondCron % job schedule delete /server1/backup mon tue wed thu fri at 23:50
BeyondCron % job show $$
----------- ------------------- Name /server1/backup Description Business day backup ... Schedules ...
Schedule a job to run weekdays
BeyondCron % job schedule add /server1/backup weekdays at 23:50
BeyondCron % job show $$
----------- -------------------- Name /server1/backup Description Business day backup ... Schedules weekdays at 23:50:00 ...
See also
- job schedule