mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 22:51:59 +01:00
Added purge.sh to cron jobs
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
26808ca40d
commit
bc4ef2c1ef
@ -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 {} \;
|
||||
|
@ -279,6 +279,7 @@ make_cron_entries() {
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user