search for: onbattnow

Displaying 3 results from an estimated 3 matches for "onbattnow".

2020 Mar 10
2
Fwd: Windows upssched does not work
...OG+EXEC NOTIFYFLAG NOCOMM SYSLOG+EXEC NOTIFYFLAG NOPARENT SYSLOG+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 --- upssched.conf CMDSCRIPT "cmd.exe /C C:\\NUT\\sched.cmd" PIPEFN "C:\\NUT\\upssched.pipe" LOCKFN "C:\\NUT\\upssched.lock" AT ONBATT * EXECUTE onbattnow AT ONBATT * START-TIMER onbattwarn 30 AT ONLINE * EXECUTE ups-back-on-line AT ONLINE * CANCEL-TIMER onbattwarn --- notify.cmd @ECHO OFF For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%b.%%a.%%c) For /f "tokens=1-2 delims=/:" %%a in ('time /t')...
2020 Mar 10
0
Fwd: Windows upssched does not work
...t; NOTIFYCMD C:\\NUT\\notify.cmd NOTIFYCMD would normally point to the executable upssched binary. > --- upssched.conf > CMDSCRIPT "cmd.exe /C C:\\NUT\\sched.cmd" > PIPEFN "C:\\NUT\\upssched.pipe" > LOCKFN "C:\\NUT\\upssched.lock" > AT ONBATT * EXECUTE onbattnow > AT ONBATT * START-TIMER onbattwarn 30 > AT ONLINE * EXECUTE ups-back-on-line > AT ONLINE * CANCEL-TIMER onbattwarn > > --- notify.cmd > @ECHO OFF > For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%b.%%a.%%c) > For /f "tokens=1-2 del...
2020 Mar 11
1
Fwd: Windows upssched does not work
...With upssched I have only command, not ups name or description text. > > > --- upssched.conf > > CMDSCRIPT "cmd.exe /C C:\\NUT\\sched.cmd" > > PIPEFN "C:\\NUT\\upssched.pipe" > > LOCKFN "C:\\NUT\\upssched.lock" > > AT ONBATT * EXECUTE onbattnow > > AT ONBATT * START-TIMER onbattwarn 30 > > AT ONLINE * EXECUTE ups-back-on-line > > AT ONLINE * CANCEL-TIMER onbattwarn > > > > --- notify.cmd > > @ECHO OFF > > For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%b.%%a.%%c...