Move CKAN cron tasks directly to cron file

This commit is contained in:
Disassembler 2017-12-04 15:08:47 +01:00
parent e2d3fc32bd
commit d839d8d3fa
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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