Displaying 2 results from an estimated 2 matches for "126apr".
Did you mean:
1264r
2015 Apr 27
2
upssched setup
Roger,
I did and it didnt work.
Hence why I was trying to run just the shell script manually. I am not sure if this works though with the timer defined in it?
Cheers,
James
Date: Mon, 27 Apr 2015 15:03:44 +0200
From: roger at rogerprice.org
To: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] upssched setup
On Mon, 27 Apr 2015, James Hammond wrote:
> I am unable to get
2015 Apr 27
3
upssched setup
...nifi upsmon[1022]: UPS ups on batteryApr 27 20:50:05 unifi upssched[2688]: Timer daemon startedApr 27 20:50:06 unifi upssched[2688]: New timer: onbatt (20 seconds)Apr 27 20:50:26 unifi upssched[2688]: Event: onbattApr 27 20:50:26 unifi upssched[2688]: exec_cmd(/sbin/upssched-cmd.sh onbatt) returned 126Apr 27 20:50:41 unifi upssched[2688]: Timer queue empty, exiting
/etc/nut/upssched.conf
CMDSCRIPT /sbin/upssched-cmd.shPIPEFN /etc/nut/upssched/upssched.pipeLOCKFN /etc/nut/upssched/upssched.lockAT ONBATT * START-TIMER onbatt 20AT ONLINE * CANCEL-TIMER onbatt
/sbin/upssched-cmd.sh
#!/bin/sh# Debugging...