summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/INSTALL4
-rw-r--r--docs/NEWS7
2 files changed, 8 insertions, 3 deletions
diff --git a/docs/INSTALL b/docs/INSTALL
index 9630ad7..611fbb4 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -255,9 +255,7 @@ in brackets):
Something like this in your crontab should work:
# m h dom mon dow command
- PYTHONPATH=.
- DJANGO_SETTINGS_MODULE=patchwork.settings.production
- */10 * * * * cd patchwork; python patchwork/bin/patchwork-cron.py
+ */10 * * * * cd patchwork; ./manage.py cron
- the frequency should be the same as the NOTIFICATION_DELAY_MINUTES
diff --git a/docs/NEWS b/docs/NEWS
index 792fc61..d1342b1 100644
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -1,3 +1,10 @@
+== Cron script changes ==
+
+The patchwork cron script has been moved to a manage.py command. Instead
+of running patchwork-cron.py, run:
+
+ ./manage.py cron
+
== Upgrading to 3b8a61c ==
Recent commits have changed a few admin-visible components of patchwork, so