-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should delete the old recurring task when the task changed key, or removed #382
Comments
I was wondering the same thing. We had a recurring task defined in recurring.yml. After deploy it began running on the regular schedule. I'm about to look into the internals now, but I'm assuming that the yml file is being read and creating records in the DB. We probably need to remove the DB entry manually for now but wondering if this is a known issue. |
Hey! Are you sure the removed task is still running or just listed in Mission Control but not running? See |
Got it, thanks a lot! @rosa |
@rosa I can confirm the removed task is indeed running. |
@antulik how can you confirm this? Do you have examples of |
My apologies, I didn't look deep enough. Execution is not scheduled. To be more specific for a removed cron task:
Updated |
Ahhh, makes sense. I'm going to fix this confusion in any case very soon, making sure recurring tasks that are removed from the config are also removed from the DB. |
Actually going to reopen this one to track that. |
When the key of a recurring task is changed or the task is removed, should the old task be automatically deleted? This is to ensure that outdated tasks do not continue to run.
The text was updated successfully, but these errors were encountered: