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

11 lines
202 B
Python
Raw Normal View History

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