Lightsquid reports via email
-
How do we set up lightsquid reports to be sent via email?
My first idea was to use "mailreport" to run an script, or the result of a script.
Another way to ask this question is… how can the output of ....
"https://pfsense/lightsquid/day_detail.cgi?year=2014&month=05&day=28"
be automated from the command line?
Or... is there already something else that can send squid email reports?
Thanks,
Del
-
I've seen it done with mailreports before.
You can use "/usr/bin/fetch -o - https://[…]" to include the contents of the page in the report, though I seem to remember that having a formatting issue of some sort.