Error starting django_cron

When I try to run a chron job in django using the command

python manage.py runcrons

one error is displayed as shown below

$ python manage.py runcrons
No handlers could be found for logger "django_cron"

Does anyone have any ideas about this error? Any help is appreciated.

+4
source share
2 answers

This is the kind of data in the error received. You do not need a handler for the django_cron registrar. See an example. Fooobar.com/questions/245350 / ... . Also check out the docs for Django, https://docs.djangoproject.com/en/dev/topics/logging/ .

+3
source

django-cron django_cron. , django_cron:

python manage.py migrate #migrate database
0

All Articles