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 :-)
There is no configuration for stopping task if it fails for a fixed number of times.
Currently if my task is failing it will run again and again until it success.
there should be a config setting for "Max num of failures" to stop that.
there is one 'MIN_NUM_FAILURES' attribute to set for email notification but this does not stops task!
There is no configuration for stopping task if it fails for a fixed number of times. Currently if my task is failing it will run again and again until it success. there should be a config setting for "Max num of failures" to stop that.
there is one 'MIN_NUM_FAILURES' attribute to set for email notification but this does not stops task!