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

Deprecated #84

Closed gtalarico closed 8 years ago

gtalarico commented 8 years ago

Works perfect when I have only one cron class. If the second one is added, I get the error:

Running python manage.py runcrons -v 3 on dj-portal... up, run.5829
[WARNING] /app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py:265: RemovedInDjango110Warning: OptionParser usage for Django management commands is deprecated, use ArgumentParser instead
  RemovedInDjango110Warning)
 [base.py](265)
gtalarico commented 8 years ago

https://github.com/django-extensions/django-extensions/issues/788

maxim-kht commented 8 years ago

Resolved in https://github.com/Tivix/django-cron/pull/94