Cron Timing
Steven Barre
steven at realestatewebmasters.com
Tue Apr 20 16:34:48 UTC 2010
Hello All
I know that you can get cron to do something "every x". For example to
have something run every 15 min you would do
*/15 * * * * php /path/to/script.php
But now I have a whole bunch of these set up and having them all run at
exactly the same time is causing issues.
Is there any way to stagger these? Like tell it to run every 15 min + 2
min so it runs at 02, 17, 32, and 47 minutes past the hour?
Or is my best bet to simply put a sleep at the start of the script with
a random time?
Thanks for your help!
--
=================================================
Steven Barre
steven at realestatewebmasters.com
Systems and Support Manager
Real Estate Webmasters
www.realestatewebmasters.com
==================================================
More information about the redhat-list
mailing list