From dc4abdcbd879e4d7c559552fd8b74f251f166317 Mon Sep 17 00:00:00 2001 From: Petar Efnushev Date: Fri, 6 May 2016 18:54:57 +0200 Subject: [PATCH] README updates --- README.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.rst b/README.rst index 5caf037..30b4c27 100644 --- a/README.rst +++ b/README.rst @@ -725,6 +725,19 @@ following steps with the one you are using. You can of course modify this periodicity, this `Wikipedia page `_ has a good overview of the crontab syntax. +5. In order to setup clean-up mechanism for the harvest log one more cron job needs to be scheduled:: + + sudo crontab -e -u ckan + + Paste this line into your crontab, again replacing the paths to paster and + the ini file with yours:: + + # m h dom mon dow command + 0 5 * * * /usr/lib/ckan/default/bin/paster --plugin=ckanext-harvest harvester clean_harvest_log --config=/etc/ckan/std/std.ini + + This particular example will perform clean-up each day at 05 AM. + You can tweak the value according to your needs. + Tests =====