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

11 lines
202 B
Python

from django.core.management.base import BaseCommand
from ... import beat
class Command(BaseCommand):
help = 'Runs periodic tasks.'
def handle(self, *args, **options):
beat.run()