purge is not allowed by configuration, enable_purge=0

Issue #567 resolved
Former user created an issue

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)

  1. Cassio Simões

    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
    
  2. Janos SUTO 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.

  3. Log in to comment