ubuntu:cron:schedule_a_cron_job_to_execute_twice_on_every_saturday_and_monday
Ubuntu - Cron - Schedule a Cron Job to Execute Twice on Every Saturday and Monday
To run specific commands more than one time in every week.
0 8,20 * * 6,1 /scripts/script.sh
Cron will now run the script.sh at both 8 am and 8 pm on every Saturday and Monday.
The above entry is equivalent to the next entry.
0 8,20 * * sat,mon /scripts/script.sh
ubuntu/cron/schedule_a_cron_job_to_execute_twice_on_every_saturday_and_monday.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1