How to list all periodic tasks #8785
Unanswered
RemiDesgrange
asked this question in
Q&A
Replies: 2 comments 3 replies
-
The actual object you're after is the For example: celery -A app shell
>>> app.conf.table().get('beat_schedule') # OR you can use app.conf.get('beat_schedule') |
Beta Was this translation helpful? Give feedback.
1 reply
-
@RemiDesgrange from project.celery import app # this is the app=Celery(...) instance
from celery.beat import Service
scheduler = Service(app).get_scheduler()
print(scheduler.get_schedule()) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think everything is in the title.
I read https://docs.celeryq.dev/en/stable/userguide/periodic-tasks.html and https://docs.celeryq.dev/en/stable/userguide/monitoring.html
celery -A my_proj inspect scheduled
seems to be only for eta or countdown, it appears that there are noinspect
commands for beat (periodic tasks).am I missing something?
Thx.
Beta Was this translation helpful? Give feedback.
All reactions