User Tools

Site Tools


ubuntu:cron:schedule_multiple_jobs_in_a_single_crontab_entry

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.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki