[Nut-upsuser] UPSSCHED and FreeBSD 8.3?
Roger Price
roger at rogerprice.org
Fri Jan 4 15:43:52 UTC 2013
On Fri, 4 Jan 2013, Thomas Laus wrote:
> My CMDSCRIPT /usr/local/bin/upssched-cmd:
>
> #!/bin/sh
>
> case $1 in
> upsbatt)
> echo "The UPS has been on battery for awhile" \
> | mail -s"UPS monitor" me at testhost.local
> ;;
...
> ..., but no email was generated nor any entries in my maillog.
If you execute "/usr/local/bin/usssched-cmd upsbatt" from the command line
as the owner of the script, do you receive a mail?
Roger
More information about the Nut-upsuser
mailing list