Вопрос

I have Magento 2 setup of version 2.2.2.

I have set the cronjobs as per guidelines.

When I check the cron_schedule table I can see multiple duplicate cronjobs entries. created_at is the same for the same job_code and scheduled_at time is set with a difference of 1 minute as per the below image.

enter image description here

I haven't changed any default configurations in configuration -> Advance -> System -> Cron (Scheduled Tasks).

Это было полезно?

Решение

Go to configuration -> Advance -> System -> Cron (Scheduled Tasks) -> Cron configuration options for group: default.

Set Schedule Ahead for field as 1.

Please see the below screenshot.

enter image description here

And then check it.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с magento.stackexchange
scroll top