mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:00:12 +01:00
fixed indexing
This commit is contained in:
parent
ab2985a83e
commit
df2afabcb1
@ -18,7 +18,7 @@ piler's crontab:
|
|||||||
|
|
||||||
*/5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print $11}' > /var/piler/stat/cpu.stat
|
*/5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print $11}' > /var/piler/stat/cpu.stat
|
||||||
5,35 * * * * LIBEXECDIR/piler/indexer.delta.sh
|
5,35 * * * * LIBEXECDIR/piler/indexer.delta.sh
|
||||||
15 2 * * * LIBEXECDIR/piler/indexer.main.sh
|
30 2 * * * LIBEXECDIR/piler/indexer.main.sh
|
||||||
*/15 * * * * /usr/local/bin/indexer --quiet tag1 --rotate
|
*/15 * * * * /usr/local/bin/indexer --quiet tag1 --rotate
|
||||||
*/15 * * * * /usr/local/bin/indexer --quiet note1 --rotate
|
*/15 * * * * /usr/local/bin/indexer --quiet note1 --rotate
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ make_cron_entries() {
|
|||||||
echo "*/5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print \$11}' > $LOCALSTATEDIR/piler/stat/cpu.stat" >> $CRON_TMP
|
echo "*/5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print \$11}' > $LOCALSTATEDIR/piler/stat/cpu.stat" >> $CRON_TMP
|
||||||
|
|
||||||
echo "5,35 * * * * $LIBEXECDIR/piler/indexer.delta.sh" >> $CRON_TMP
|
echo "5,35 * * * * $LIBEXECDIR/piler/indexer.delta.sh" >> $CRON_TMP
|
||||||
echo "15 2 * * * $LIBEXECDIR/piler/indexer.main.sh" >> $CRON_TMP
|
echo "30 2 * * * $LIBEXECDIR/piler/indexer.main.sh" >> $CRON_TMP
|
||||||
echo "*/15 * * * * $INDEXER --quiet tag1 --rotate" >> $CRON_TMP
|
echo "*/15 * * * * $INDEXER --quiet tag1 --rotate" >> $CRON_TMP
|
||||||
echo "*/15 * * * * $INDEXER --quiet note1 --rotate" >> $CRON_TMP
|
echo "*/15 * * * * $INDEXER --quiet note1 --rotate" >> $CRON_TMP
|
||||||
echo "### PILEREND" >> $CRON_TMP
|
echo "### PILEREND" >> $CRON_TMP
|
||||||
|
Before Width: | Height: | Size: 71 B After Width: | Height: | Size: 71 B |
Loading…
Reference in New Issue
Block a user