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 :-)
Minimal fix for Django 5.1 compatibility. Meta.index_together is deprecated in this version, so it is replaced for Meta.indexes on the CronJobLog model.
Minimal fix for Django 5.1 compatibility. Meta.index_together is deprecated in this version, so it is replaced for Meta.indexes on the CronJobLog model.