Skip to content

Instantly share code, notes, and snippets.

@djsmith42
Last active March 23, 2016 05:05
Show Gist options
  • Save djsmith42/b94753786bfbd06ca2e2 to your computer and use it in GitHub Desktop.
Save djsmith42/b94753786bfbd06ca2e2 to your computer and use it in GitHub Desktop.
from celery.worker.control import Panel
@Panel.register
def my_custom_command(*args):
print('Yay, my custom command just ran!')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment