diff --git a/etc/cron.jobs.in b/etc/cron.jobs.in index fcbb1c6..c849a1e 100644 --- a/etc/cron.jobs.in +++ b/etc/cron.jobs.in @@ -1,6 +1,7 @@ ### PILERSTART 5,35 * * * * LIBEXECDIR/piler/indexer.delta.sh 30 2 * * * LIBEXECDIR/piler/indexer.main.sh +40 3 * * * LIBEXECDIR/piler/purge.sh */15 * * * * /usr/bin/indexer --config SYSCONFDIR/piler/sphinx.conf --quiet tag1 --rotate */15 * * * * /usr/bin/indexer --config SYSCONFDIR/piler/sphinx.conf --quiet note1 --rotate */5 * * * * /usr/bin/find LOCALSTATEDIR/piler/www/tmp -type f -name i.\* -exec rm -f {} \; diff --git a/util/postinstall.sh.in b/util/postinstall.sh.in index 43a7ad1..1b49914 100755 --- a/util/postinstall.sh.in +++ b/util/postinstall.sh.in @@ -279,6 +279,7 @@ echo "### PILERSTART"; echo "5,35 * * * * ${LIBEXECDIR}/piler/indexer.delta.sh"; echo "30 2 * * * ${LIBEXECDIR}/piler/indexer.main.sh"; + echo "40 3 * * * ${LIBEXECDIR}/piler/purge.sh"; echo "3 * * * * ${LIBEXECDIR}/piler/watch_sphinx_main_index.sh"; echo "*/15 * * * * ${INDEXER} --quiet tag1 --rotate --config ${PILER_CONFIG_DIR}/sphinx.conf"; echo "*/15 * * * * ${INDEXER} --quiet note1 --rotate --config ${PILER_CONFIG_DIR}/sphinx.conf";