ubuntu:cron:schedule_a_cron_job_to_run_on_specified_months
Ubuntu - Cron - Schedule a Cron Job to Run on Specified Months
* * * jan,may,aug * /script/script.sh
The above crontab will make cron execute the given script at every minute in January, May, and August.
The same command can be written using numeric values only as shown below.
* * * 1,5,8 * /script/script.sh
ubuntu/cron/schedule_a_cron_job_to_run_on_specified_months.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1