Closed
Description
Preconditions (*)
- Create empty Magento project using
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition:2.2.7 .
- Install with something like following:
php bin/magento setup:install --base-url="http://www.example.com/" --db-host="db" --db-name="..." --db-user="..." --db-password="..." --admin-firstname="Admin" --admin-lastname="Admin" --admin-email="admin@example.com" --admin-user="admin" --admin-password="..." --language="en_US" --currency="EUR" --timezone="Europe/Zagreb" --use-rewrites="1" --backend-frontname="admin"
. This is actually blank installation, but lets document just in case.
Steps to reproduce (*)
- php bin/magento cron:run
- php bin/magento cache:flush
- (not sure, but i think you need to wait for 1 min)
- php bin/magento cron:run
- Execute following on the database:
SELECT count(*), job_code, scheduled_at FROM `cron_schedule` GROUP BY job_code, scheduled_at ORDER BY `count(*)` DESC
Expected result (*)
- There are no duplicate cron jobs
Actual result (*)
- Cron jobs are being duplicated: Same job code at the same time exists multiple times
Note:
This has been reported few times before, but issue has been closed with note that new one should be opened if it still persists.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.2 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release