Last active
September 21, 2016 15:11
-
-
Save bhardin/a06adc5f9f06b889932f7720e061813b to your computer and use it in GitHub Desktop.
Examples of how to use celery beat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/some_cool_app/tasks.py | |
@celery_app.task(bind=True, queue=’whenever’) | |
def a_long_running_process(self): | |
process = LongRunningProcess() | |
process.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment