Feature request from ajpevers, posted on GitHub Feb 12, 2016
It would be helpful if pending entries in cron_schedule are deleted when changing a cron job's config:
I've changed the config from 09:50:00 to 09:55:00 and then to Enabled: No.
In between changing the config settings i ran: magento cache:clean config && magento cron:run
.
The result was this:
At the moment that the cron is turned off by config it will still run based on the cron_schedule entry:
Here the config was off, but the cron job will still run.
AOE_Scheduler has a nice fix for this and it reschedules the job at the moment you change the configuration. It would be nice if Magento itself would at least remove the pending schedules on config change.