Categories
How to assign execution of a Celery task to a model field?
There is a Post model with a next_run field. Created test 10 posts. How to run the celery task at the time specified in the next_run of each of the model objects?
Answer the question
In order to leave comments, you need to log in
some_task.apply_async(eta=obj.next_run)
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question