mtdowling / cron-expression

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
http://mtdowling.com/blog/2012/06/03/cron-expressions-in-php/
MIT License
4.9k stars 335 forks source link

Colliding Cron Jobs #90

Closed bentinata closed 9 years ago

bentinata commented 9 years ago

Would it be possible to make a function that check colliding schedule? Ex: */7 * * * * and */3 * * * * would collide at 21 * * * *.

Alternatively, generating cron jobs would make it easier. Ex: */25 * * * * would generate 25 * * * * and 50 * * * *. 12,40,55 * * * * would generate 12 * * * *, 40 * * * *, 55 * * * *. (Or maybe more detailed to some extent?)

mtdowling commented 9 years ago

Sorry. This is out of scope for this library.