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

Cron message length either should be configurable or not restricted #149

Closed jonespm closed 2 years ago

jonespm commented 5 years ago

The cron message length is not restricted in the database as of long ago 70421491622bef422a9e8f5e53736826a11d0fe7, but is still restricted to 1000 characters in the code. Workarounds like https://github.com/Tivix/django-cron/issues/81#issuecomment-358559423 were suggested, but the problem with this is newlines are removed if a string is not returned. It would be easier if we could just have longer messages supported.

Thanks!

https://github.com/Tivix/django-cron/blob/7fa5c2d2835520d8c920f3c103937ab292d9e545/django_cron/__init__.py#L164