JithinTerrificminds

Results 4 comments of JithinTerrificminds

We're encountering the same issue in our production environment every midnight. Has anyone found a solution or identified the root cause? The issue can be replicated by renaming/commenting the file...

It appears we have found the cause of this issue, Hope this helps. The issue happens as the old cron are not getting removed only new cron are getting added....

Thanks @peterjaap @Aquive We just added an before to remove the cron before adding the new cron : before('magento:upgrade:db', 'magento:cron:stop'); after('magento:upgrade:db', 'magento:cron:install');

I am not sure if's correct but we do stop the cron just before setup upgrade to avoid some issues. We do also have something like this : after('magento:maintenance:enable-if-needed', 'magento:cron:stop');