piler/etc/cron.jobs.in
SJ 618ac69985 added piler.cron to $datarootdir
Change-Id: I41ce251c96c0d414e397f0532c7a06efbc7641b6
Signed-off-by: SJ <sj@acts.hu>
2017-03-05 20:55:23 +01:00

20 lines
802 B
Plaintext

### PILERSTART
5,35 * * * * LIBEXECDIR/piler/indexer.delta.sh
30 2 * * * LIBEXECDIR/piler/indexer.main.sh
15,45 * * * * LIBEXECDIR/piler/indexer.attachment.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 {} \;
### optional: the same report you can see on the health page
###30 7 * * * /usr/bin/php LIBEXECDIR/piler/daily-report.php --webui LOCALSTATEDIR/piler/www
### optional: populate accouting data
###30 6 * * * /usr/bin/php LIBEXECDIR/piler/generate_stats.php --webui LOCALSTATEDIR/piler/www
### optional: purge aged emails
###2 0 * * * BINDIR/pilerpurge
### PILEREND