Cron Timing

Miner, Jonathan W (US SSA) jonathan.w.miner at baesystems.com
Tue Apr 20 17:13:26 UTC 2010


> For example to have something run every 15 min you would do
>
> */15  *  *  *  * php /path/to/script.php

>  Like tell it to run every 15 min + 2min so it runs at 02, 17, 32, and 47 minutes past the hour?

2,17,32,47 * * * * php /path/to/script.php

> Or is my best bet to simply put a sleep at the start of the script with a random time?

You can do that too.




More information about the redhat-list mailing list