2011-12-27 20:51:56 +01:00
|
|
|
#########################################################
|
|
|
|
### all the cron jobs you may need for piler ###
|
|
|
|
### be sure to review it and adjust it for your needs ###
|
|
|
|
#########################################################
|
2011-12-07 15:24:52 +01:00
|
|
|
|
2011-12-27 20:51:56 +01:00
|
|
|
piler's crontab:
|
|
|
|
|
2012-10-23 18:55:16 +02:00
|
|
|
### mandatory
|
|
|
|
|
2013-07-09 10:12:42 +02:00
|
|
|
5,35 * * * * LIBEXECDIR/piler/indexer.delta.sh
|
2013-07-10 14:10:26 +02:00
|
|
|
30 2 * * * LIBEXECDIR/piler/indexer.main.sh
|
2012-08-25 21:13:43 +02:00
|
|
|
*/15 * * * * /usr/local/bin/indexer --quiet tag1 --rotate
|
2012-10-23 18:55:16 +02:00
|
|
|
*/15 * * * * /usr/local/bin/indexer --quiet note1 --rotate
|
2014-06-25 13:56:24 +02:00
|
|
|
*/5 * * * * /usr/bin/find /srv/www/webui.yourdomain.com/tmp -type f -name i.\* -exec rm -f {} \;
|
2012-10-23 18:55:16 +02:00
|
|
|
|
|
|
|
### optional: the same report you can see on the health page
|
2014-05-20 12:55:48 +02:00
|
|
|
30 7 * * * /usr/bin/php LIBEXECDIR/piler/daily-report.php --webui /srv/www/webui.yourdomain.com
|
2011-12-27 20:51:56 +01:00
|
|
|
|
2013-03-21 19:01:06 +01:00
|
|
|
### optional: populate accouting data
|
2014-05-20 12:55:48 +02:00
|
|
|
30 6 * * * /usr/bin/php LIBEXECDIR/piler/generate_stats.php --webui /srv/www/webui.yourdomain.com
|
2011-12-27 20:51:56 +01:00
|
|
|
|
2012-10-23 22:11:15 +02:00
|
|
|
### optional: purge aged emails
|
|
|
|
2 0 * * * /usr/local/bin/pilerpurge
|
|
|
|
|
2011-12-27 20:51:56 +01:00
|
|
|
|