User Tools

Site Tools


ubuntu:cron:schedule_a_cron_job_to_run_on_every_minutes

Ubuntu - Cron - Schedule a Cron Job to Run on Every Minutes

Generally, you won’t require any cron job to run every minute.

But this is an excellent example on how you can do this.

* * * * * /scripts/script.sh

All asterisks in the time field of your crontabs mean the script.sh file will run every minute.

You should not try this on servers; else you may disrupt the system very quickly.

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki