Closed robetus closed 9 years ago
squid-analyzer must be run as root or any user able to read your squid log files and to write in the output directory. Maybe there's something wrong but it should show an error. First you have to try to run it manually and see if there's any error message. Second send any error message to a file and not to /dev/null:
0 2 * * * /usr/local/bin/squid-analyzer > /tmp/squidanalyzer.log 2>&1
and report any error message available in this file.
Regards
Do I use:
0 2 * * * root /usr/local/bin/squid-analyzer > /tmp/squidanalyzer.log 2>&1
yes
I inserted this: 0 2 * * * /usr/local/bin/squid-analyzer > /dev/null 2>&1
into /etc/crontab and it does not do anything. I want the log to refresh every day. What else can I check to make this work?