Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove scheduled jobs after changing cron settings #3380

Closed
AntonEvers opened this issue Feb 12, 2016 · 3 comments
Closed

Remove scheduled jobs after changing cron settings #3380

AntonEvers opened this issue Feb 12, 2016 · 3 comments
Labels
improvement Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@AntonEvers
Copy link
Contributor

It would be helpful if pending entries in cron_schedule are deleted when changing a cron job's config:
screen shot 2016-02-12 at 09 46 48

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:

screen shot 2016-02-12 at 09 50 17

At the moment that the cron is turned off by config it will still run based on the cron_schedule entry:

screen shot 2016-02-12 at 09 49 07

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.

@AntonEvers
Copy link
Contributor Author

@MomotenkoNatalia, @piotrekkaminski would you be open to a pull request on this issue?

@piotrekkaminski
Copy link
Contributor

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

@magento-team
Copy link
Contributor

Internal ticket to track issue progress: MAGETWO-70029

@magento-team magento-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development develop improvement labels Jul 31, 2017
zetlen pushed a commit to magento-research/magento2 that referenced this issue Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

6 participants