djangomrjobdjango-cron

Getting error while running django_cron


When am trying to run the chron job in django using below command

python manage.py runcrons

its showing one error like below

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

Does any one have any idea about this error? Any help is appreciated.


Solution

  • It is kind of given in the error you get. You are missing a handler for the "django_cron" logger. See for example https://stackoverflow.com/a/7048543/1197616. Also have a look at the docs for Django, https://docs.djangoproject.com/en/dev/topics/logging/.