Skip to content

Commit

Permalink
Update Readme and Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-kht committed Jun 6, 2018
1 parent 1f1242c commit 9ad2e09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ Django-cron lets you run Django/Python code on a recurring basis providing basic
This app solves both issues to a reasonable extent. This is by no means a replacement for queues like Celery ( http://celeryproject.org/ ) etc.


WARNING
=============
When upgrading from 0.3.6 to later versions you might need to remove existing South migrations, read more: https://docs.djangoproject.com/en/1.7/topics/migrations/#upgrading-from-south


Documentation
=============
http://django-cron.readthedocs.org/en/latest/
Expand Down
6 changes: 3 additions & 3 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ Configuration

**CRON_CLASSES** - list of cron classes

**DJANGO_CRON_LOCK_BACKEND** - path to lock class, default: ``django_cron.backends.lock.cache.CacheLock``
**DJANGO_CRON_LOCK_BACKEND** - path to lock class, default: ``"django_cron.backends.lock.cache.CacheLock"``

**DJANGO_CRON_LOCKFILE_PATH** - path where to store files for FileLock, default: ``/tmp``
**DJANGO_CRON_LOCKFILE_PATH** - path where to store files for FileLock, default: ``"/tmp"``

**DJANGO_CRON_LOCK_TIME** - timeout value for CacheLock backend, default: ``24 * 60 * 60 # 24 hours``

**DJANGO_CRON_CACHE** - cache name used in CacheLock backend, default: ``default``
**DJANGO_CRON_CACHE** - cache name used in CacheLock backend, default: ``"default"``

**DJANGO_CRON_DELETE_LOGS_OLDER_THAN** - integer, number of days after which log entries will be clear (optional - if not set no entries will be deleted)

Expand Down

0 comments on commit 9ad2e09

Please sign in to comment.