How can I write a Crontab that will run my /home/username/test.sh
script every 2 hours?
Ubuntu – How to run cron job every 2 hours
cronUbuntu
Related Topic
- Linux – How to get a cron job to run every 30 minutes
- Ubuntu – How to write a cron that will run a script every day at midnight
- Ubuntu – Running a cron every 30 seconds
- Linux – Running a cron job on Linux every six hours
- Run Cron job every N minutes plus offset
- Running a cron job at 2:30 AM everyday
- R – MFC multithreading with delete[] , dbgheap.c
Best Answer
Just do:
The 0 at the beginning means to run at the 0th minute. (If it were an *, the script would run every minute during every second hour.)
Don't forget, you can check syslog to see if it ever actually ran!