Tivix / django-cron

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 :-)
www.tivix.com
MIT License
900 stars 193 forks source link

Prevent AttributeError when lock date is None. #130

Closed barqshasbite closed 6 years ago

barqshasbite commented 6 years ago

It is possible for the running lock date in the cache to be None if another process released the lock before the current process fetched the value from the cache.