django-orchestra/orchestra/contrib/tasks/management/commands/beat.py

11 lines
216 B
Python
Raw Normal View History

2015-05-03 17:44:46 +00:00
from django.core.management.base import BaseCommand, CommandError
from ... import beat
class Command(BaseCommand):
help = 'Runs periodic tasks.'
def handle(self, *args, **options):
beat.run()