RE: Cron Timing

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

 



> 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.

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