⬅︎ Back to One thing I hate about Linux: cron
This is why in a pure Python env celerybeat + supervisord does the job much better:CELERYBEAT_SCHEDULE = { # Executes every Monday morning at 7:30 A.M "every-monday-morning": { "task": "tasks.add", "schedule": crontab(hour=7, minute=30, day_of_week=1), "args": (16, 16), },}It's pure python, it runs python fonctions and it's explicit. But it does require additional setup.http://ask.github.com/celery/userguide/periodic-tasks.html
Comment
This is why in a pure Python env celerybeat + supervisord does the job much better:
CELERYBEAT_SCHEDULE = {
# Executes every Monday morning at 7:30 A.M
"every-monday-morning": {
"task": "tasks.add",
"schedule": crontab(hour=7, minute=30, day_of_week=1),
"args": (16, 16),
},
}
It's pure python, it runs python fonctions and it's explicit. But it does require additional setup.
http://ask.github.com/celery/userguide/periodic-tasks.html