2
我有几个cron作业,我想对它们执行一些计算,所以我知道下一次执行cron作业。Cron作业计算
例如:
30-12-2011 15:30 is the current local time,
0 0,3,6,9,12,15,18,21 * * * is one of my cron jobs,
30-12-2011 18:00 should be the next time the cron is executed.
手工做这些计算也不难,尤其是当cron任务变得更加复杂。还是有一个简单的方法来做到这一点?
我搜索了(小)PHP库,可以做到这一点,但没有结果。你知道是否有任何库可用来执行这些计算?