Quick cron question.

buc99

Don't Tread on Me!
I have a script that I'm trying to run @ 6pm,12pm,6am, and midnight(or close to). This is the line I have written in my /etc/crontab:
0 6,12,18,23 * * * root sh /bin/ping_test

Will this work correctly, if not what should it be, and is there a better way to set this crontab to run the script every 6 hours of every day?

Thanks:)
SA
 
Cool, Thanks for the info.

Also is the first 0 needed or can it just be a * instead?

Thanks,:)
SA
 
Thanks again. It seems your answering all of my questions today Testuser. I very much appreciate it. (If that is even proper English)

Thanks.:)

SA
 
Back
Top