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

11 lines
202 B
Python
Raw Permalink Normal View History

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