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 :-)
Coverage increased (+0.04%) when pulling 253eef79f390ff08f79cb7e8dec484d4070e17eb on bronsen:patch-1 into f8c840c70e8cf58565da0325d685fea3687fc40c on Tivix:master.
Do not use "[]" as a default argument value because it is mutable; instead use a workaround described both here https://docs.python.org/3.4/tutorial/controlflow.html#default-argument-values and here https://docs.python.org/2.7/tutorial/controlflow.html#default-argument-values under "Important warning".