On 20/05/2009, at 12.11, Richard Chapman wrote:
For various reasons - I have been trying to get my Desktops and/or servers to shut-down a fixed time after a power fail - or better still a fixed time - or a low battery whichever comes first.
[cuuuuut]
Is there another parameter somewhere - probably in upsmon - which would allow me to specify a shut-down after (say) 3 minutes running on battery regardless of battery status?
In the upsmon.conf file you use NOTIFYCMD and ONBATT to execute a shutdown $time
Then you use a ONLINE to execute a -c to cancel a shutdown if the power returns.
JonB _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser