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 :-)
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.
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.