ubuntu:cron:schedule_multiple_jobs_in_a_single_crontab_entry
This is an old revision of the document!
Ubuntu - Cron - Schedule Multiple Jobs in a Single Crontab Entry
Crontab allows you to specify more than one jobs in a single entry.
All you need to do is separate the tasks using the semicolon(;) delimiter. The below crontab Linux command invokes two scripts at 8 am each day.
0 8 * * * /scripts/script.sh; /scripts/scrit2.sh
ubuntu/cron/schedule_multiple_jobs_in_a_single_crontab_entry.1576195710.txt.gz · Last modified: 2020/07/15 09:30 (external edit)