purge is not allowed by configuration, enable_purge=0
Issue #567
resolved
When I try to run pilepurge I get the following message:
purge is not allowed by configuration, enable_purge=0
I have enable_purge=1 at the end of /usr/local/etc/piler.conf
What am I doing wrong?
Comments (5)
-
-
Just a question, do I have to create a crontab for pilerpurge?
My crontab looks like this:
### PILERSTART */5 * * * * LC_ALL=C mpstat | tail -1 | awk '{print $11}' > /var/piler/stat/cpu.stat 5,35 * * * * /usr/local/libexec/piler/indexer.delta.sh 30 2 * * * /usr/local/libexec/piler/indexer.main.sh */15 * * * * /usr/bin/indexer --quiet tag1 --rotate */15 * * * * /usr/bin/indexer --quiet note1 --rotate 30 6 * * * /usr/bin/php /usr/local/libexec/piler/generate_stats.php /var/www/piler.cloudsupport.com.br ### PILEREND
-
repo owner Thanks for formatting :-)
Yes, add the following entry:
1 4 * * * /usr/local/libexec/piler/purge.sh
Be aware that the purge utility removes all aged emails.
-
Thanks J
-
repo owner - changed status to resolved
- Log in to comment
Please ignore, I just enabled the purge in the GUI