| Running crontab for every 7 hours Hi All,
I have a question regarding running crontab.
In one of my Linux box, I need to run a job for every 7 hours. I have tried the below method:
* */7 * * * script.sh
But here, the job runs at: 0, 7, 14, 21,hours and again at 0 hour on next day. So, After 21 hour the job is suppose to run at 4.00 hour on next day. But it runs at 0.00 hour.
I know it's possible to write a script to do the same. But I just want to know is there any method to set the cron to run the job at regular intervals.
Thanks in advance!
~Johnson |