Skip to content

Instantly share code, notes, and snippets.

@bhardin
Created September 21, 2016 15:16
Show Gist options
  • Save bhardin/689c7ff4c263126fb3eb0e76cf279d1b to your computer and use it in GitHub Desktop.
Save bhardin/689c7ff4c263126fb3eb0e76cf279d1b to your computer and use it in GitHub Desktop.
### MORE CODE ABOVE THIS ###
from datetime import timedelta
'add-every-30-seconds': {
'task': 'tasks.update_something',
'schedule': timedelta(seconds=30),
'args': (16, 16)
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment