On Sat, 8 Aug 2020, Roger Price wrote:

Better:

 SHUTDOWNCMD "logger -t upsmon.conf \"UPS status [$( upsc [email protected] ups.status 
)]:$( upsc [email protected] battery.charge )\" ; /sbin/shutdown -h +0"

I forgot the battery.charge.  Roger

_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to