-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Cron schedule bug #4173
Comments
@adrok thank you for reporting, we have MAGETWO-51939 to investigate and fix. |
Could this also be related with an issue I am having at the moment? I'm trying to schedule multiple jobs in one group, with the same instance, but different methods:
The result in the database table are crons for 5m, 10m and 15m and sometimes 30m. Could it be that Magento 2 thinks these are duplicate crons and thinks 'hey 5 minutes also fits in 10 and 15, so I don't need te re-schedule it'. Fact is that I do need to run those different methods on different intervals |
Perhaps related to this bug: tested in M2.1.1: when I add a cronjob that needs to be executed every 5 minutes, it's executed every 20 minutes or so. |
Only one schedule entry was generated at schedule generation because of this `return;`. fixes magento#4173
Why isn't this fix already applied at 2.1.7 version ? :( |
@magento-team, please reopen this until the fix is released in a 2.1.x version. |
Hi @adrok. Thank you for your report. The fix will be available with the upcoming 2.1.14 release. |
[performance] MC-4244: Skip URL rewrites multiplication
Steps to reproduce
develop
branch.Expected result
Actual result
magento2/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php wrong return statement (for cycle)
The text was updated successfully, but these errors were encountered: