Cron Timing
Sites, Brad
BSites at mem-ins.com
Tue Apr 20 17:12:53 UTC 2010
2,17,32,47 * * * * php /path/to/script.php
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Steven Barre
Sent: Tuesday, April 20, 2010 11:35 AM
To: General Red Hat Linux discussion list
Subject: Cron Timing
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
==================================================
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list