cbandy/kohana-cron — pull request #2 by hawk-ip (2012-05-21 22:41:15+00:00)
Title: Changes to schedule don't update 'next' time.

I set a job many months out to stop it happening temporarily, but when I reset the schedule I found that the cached 'next' time is stuck months away, preventing my job from running.

This patch causes the 'next' times to be stored like 'job/0 * * * *' (i.e. with the schedule too), so schedule changes effectively mean the job starts afresh instead of waiting till the original 'next' time occurs.