Do you know any library or code in PHP to check if a date satisfies a given cron expression?
I was wondering if some of you know about a library in php so that I can pass a date and a cron expression and it tells me wether the date satisfies the cron expression or not. The java Quartz library is able开发者_如何转开发 to do that (and more like getting the next valid date for a given cron expression) but I was wondering if this is possible using php.
Thank you!
I can't vouch for this code, but there's a cron parser at PHP Classes.
And there's a similar question on SO that might be useful.
精彩评论