Cron Timing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxxx

Systems and Support Manager
Real Estate Webmasters
www.realestatewebmasters.com
==================================================

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux