Tivix / django-cron

Write cron business logic as a Python class and let this app do the rest! It enables Django projects to schedule cron tasks, tracks their success / failures, manages contention (via a cache) etc. Basically takes care of all the boring work for you :-)
www.tivix.com
MIT License
900 stars 193 forks source link

Handle db connection errors from CronJobManager #32

Closed name-no closed 10 years ago

name-no commented 10 years ago

Wrap cron job instantiation and executing into try-except block to handle DB issues, syntax errors and other related problems that my occure way before instance.do() call. Need this to clear cache immidiately.

dfryta commented 10 years ago

Agreed. Thanks!