Created
December 2, 2014 09:57
-
-
Save aidan/1d4790cce6b70e267421 to your computer and use it in GitHub Desktop.
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
from celery.decorators import periodic_task | |
from celery.schedules import crontab | |
@periodic_task( | |
run_every=crontab(minute='*/10'), | |
) | |
def hello_world(): | |
print "hello" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment