mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
updated the crontabs file
This commit is contained in:
parent
5ecd4b7299
commit
1c2ed0d5bb
@ -16,14 +16,10 @@ piler's crontab:
|
||||
|
||||
### optional: show cpu usage
|
||||
*/5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print $11}' > /var/piler/stat/cpu.stat
|
||||
*/15 * * * * /usr/local/bin/indexer --quiet delta1 --rotate && sleep 2 && /usr/local/bin/indexer --quiet --merge main1 delta1 --merge-dst-range deleted 0 0 --rotate
|
||||
*/15 * * * * /usr/local/bin/indexer --quiet tag1 --rotate
|
||||
|
||||
### optional: regular AD sync
|
||||
0 8 * * * /usr/bin/php LIBEXECDIR/piler/ldap_sync.php /srv/www/webui.yourdomain.com > LOCALSTATEDIR/piler/stat/adsync.stat
|
||||
|
||||
|
||||
|
||||
sphinx's cronjob:
|
||||
|
||||
*/5 * * * * /usr/local/bin/indexer --quiet delta1 --rotate && sleep 2 && /usr/local/bin/indexer --quiet --merge main1 delta1 --merge-dst-range deleted 0 0 --rotate
|
||||
*/15 * * * * /usr/local/bin/indexer --quiet tag1 --rotate
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user