9 lines
235 B
Python
9 lines
235 B
Python
|
from django.core.management.base import BaseCommand, CommandError
|
||
|
|
||
|
from core.helpers.cron import setup_cron
|
||
|
|
||
|
class Command(BaseCommand):
|
||
|
help = 'Enables the cron system'
|
||
|
|
||
|
def handle(self, *args, **options):
|
||
|
setup_cron()
|