On January 11, 2020 3:42:15 PM GMT+02:00, Roger Price <roger@rogerprice.org> wrote:<br>>On Sat, 11 Jan 2020, Georgi D. Sotirov wrote:<br>><br>>> Jan 11 11:49:15 sotirov-bg upsmon[2677]: UPS mgeups@localhost on<br>>battery<br>>> Jan 11 11:49:15 sotirov-bg upssched[29746]: Executing command:<br>>ups-on-battery<br>>> Jan 11 11:49:15 sotirov-bg upssched-cmd: Unrecognized command:<br>>ups-on-battery<br>><br>>These lines say that you have something like<br>><br>>    AT ONBATT mgeups@localhost EXECUTE ups-on-battery<br>><br>>declared in file upssched.conf, but script upssched-cmd does not have a<br>>case <br>>statement option or something similar to catch such a call to<br>>upssched-cmd.<br>><br><br>That is absolutely true but I've understood that the system worked OK in the past. And  AFAIK (please correct me if I am wrong) the missing command was simply ignored. And I think that the lines you quoted do not explain a shutdown while the line I quoted does.<br><br>wolfy