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

11 lines
216 B
Python

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()