celerybeat-mongo
celerybeat-mongo copied to clipboard
Disabling a single task in the MongoDB collection seems to disable all tasks
I set the enabled field to false for one of the tasks and that resulted in all tasks not being scheduled anymore. The issue resolves once you set the enabled flag to true.
Yeah, I encountered same problem too.
Encountered the problem and fixed the issue by patching Mongoscheduler.get_from_database
self.sync()
d = {}
for doc in self.Model.objects():
if doc.enabled:
d[doc.name] = self.Entry(doc)
return d