Fixing webalizer

So, if you’re running webalizer in a cron job and it hits some really long fields, it will complain at you. If you have it running in a five minute cron job, this gets old very fast. The official docs tell you that -Q will tell it ‘really quiet’. Yet you still get the error message spouted at you. After way too long, I figured out you can redirect the message.

/webalizer -Q -c webalizer.conf > /dev/null

/webalizer -Q -c webalizer.conf &> /dev/null

And things are much better now. Of course, it would be best if I could just tell it to ignore that one error and still tell me when anything’s actually seriously wrong. But whatev.

This entry was posted in Misc. Bookmark the permalink.

Leave a Reply