synolia / SyliusSchedulerCommandPlugin

Schedule Symfony Commands in your Sylius
MIT License
31 stars 20 forks source link

[Bug] 0 * * * * execute every minute #82

Closed Geolim4 closed 1 year ago

Geolim4 commented 1 year ago

Describe the bug I have set a task that would normally execute every hours: 0 * * * *

Except it runs every minutes if I look at the history of scheduled commands ?

To Reproduce Setup a task 0 * * * * and go to admin/scheduled-commands/

Expected behavior Run every hours at m + 0.

Screenshots Capture d’écran de 2023-05-25 16-57-37 Capture d’écran de 2023-05-25 16-57-19

Additional context N/A

oallain commented 1 year ago

Hello @Geolim4 ,

We apologize for the inconvenience. We have detected that the problem is due to the "Execute immediately" feature. This remains activated all the time, so the command runs in a loop. We're going to fix this asap, but in the meantime, I'd advise you to deactivate it to get the desired effect.

Regards

oallain commented 1 year ago

Hello @Geolim4

Issue fixed in v3.4.2

Regards

Geolim4 commented 1 year ago

Wonderful, thank you very much !