diff --git a/ckan/etc/cron.d/ckan b/ckan/etc/cron.d/ckan index b8cedc6..1cd1c76 100644 --- a/ckan/etc/cron.d/ckan +++ b/ckan/etc/cron.d/ckan @@ -1 +1 @@ -10 * * * * ckan /srv/ckan/cron-pageviews.sh >/dev/null +10 * * * * ckan /srv/ckan/bin/paster --plugin=ckan tracking update -c /etc/ckan/ckan.ini >/dev/null && /srv/ckan/bin/paster --plugin=ckan search-index rebuild -r -c /etc/ckan/ckan.ini >/dev/null diff --git a/ckan/srv/ckan/cron-pageviews.sh b/ckan/srv/ckan/cron-pageviews.sh deleted file mode 100755 index 983bc8e..0000000 --- a/ckan/srv/ckan/cron-pageviews.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -/srv/ckan/bin/paster --plugin=ckan tracking update -c /etc/ckan/ckan.ini && \ -/srv/ckan/bin/paster --plugin=ckan search-index rebuild -r -c /etc/ckan/ckan.ini