User Tools

Site Tools


ubuntu:cron:schedule_a_cron_job_to_run_on_every_three_hours

Ubuntu - Cron - Schedule a Cron Job to Run on Every Three Hours

0 */3 * * * /script/script.sh

Look how the * is prefixed before the /3. It tells cron to run the command in ‘every’ 3 hours

ubuntu/cron/schedule_a_cron_job_to_run_on_every_three_hours.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki