You can use one of two built-in locking backends by setting
DJANGO_CRON_LOCK_BACKEND with one of:
This backend sets a cache variable to mark current job as “already running”, and delete it when lock is released.
This backend creates a file to mark current job as “already running”, and delete it when lock is released.
You can also write your custom backend as a subclass of
django_cron.backends.lock.base.DjangoCronJobLock and defining