This repository has been archived by the owner on Aug 28, 2020. It is now read-only.
Scheduled task not behaving as expected #303
Labels
Bug: Confirmed
Issues that report confirmed bugs.
Priority: Low
Issues that must be fixed or PRs that must be finished and merged with low priority.
SEM: Patch
PRs that contain bugfixes and should be released in the next patch version.
Type: Maintenance
Issues and PRs related to the maintenance of a module.
Describe the issue
I got multiple recurring tasks that should ran every minute but what happens is that the first task runs then the second ones run in the second minute and in the third minute the third tasks runs, and a loop starts.
Code or steps to reproduce
Make multiple recurring tasks (mine hapened with the same task) with the cron "* * * * *" (that means that they should run every minute of every hour of every day, etc), after that check how the multiple recurring tasks are executing, for example if you want to do a simple test you could make a task that does console.log("test"), and that should appear n times (n being the amount of recurring tasks you made) in the console but it doesnt.
Expected an actual behaviour
What should happen is that your console should be filled of "test" but it is not because only one scheduledTask was ran.
Further details
The text was updated successfully, but these errors were encountered: