Displaying 1 result from an estimated 1 matches for "onbatt_timer".
2012 Jun 25
1
upssched script doesn't start on event
...EXEC
NOTIFYFLAG FSD SYSLOG+WALL+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 20
-------------
upssched.conf:
CMDSCRIPT /usr/local/bin/upssched-cmd
PIPEFN /var/run/nut/upssched/upssched.pipe
LOCKFN /var/run/nut/upssched/upssched.lock
AT ONBATT * EXECUTE onbatt
AT ONBATT * START-TIMER onbatt_timer 120
AT ONLINE * CANCEL-TIMER onbatt_timer
AT ONLINE * EXECUTE online
AT FSD * EXECUTE fsd
---------------
-rwxr-x--- 1 nut nut 665 ??? 25 01:01 /usr/local/bin/upssched-cmd
What am i doing wrong?
thanks ahead.
--
A.