Thank you for the insight.
Further investigation revealed that upssched-cmd wasn't running due to a typo 
in the file. Found an error code in Syslog.
Case closed.
Dan
________________________________
From: Nut-upsuser 
<nut-upsuser-bounces+danpower2023=outlook....@alioth-lists.debian.net> on 
behalf of Matus UHLAR - fantomas via Nut-upsuser 
<[email protected]>
Sent: Monday, February 19, 2024 11:13 AM
To: [email protected] <[email protected]>
Subject: Re: [Nut-upsuser] msmtp not running in upssched-cmd

On 19.02.24 14:48, Dan Grostick via Nut-upsuser wrote:
>Msmtp is not sending messages when invoked from upssched-cmd.

>I can manually invoke it from the command line.

where is its config file?

>There is a 's' instead of an 'x' in the ls -l.  Might this be some sort of
>permission problem?

Should not be the case.

>upsmon.conf has run user as root.

msmtp may use HOME variable to search for its config file, which may not
exist when executed from upsmon.

do you have system-wide msmtprc?

How did you configure upsmon to call msmtp?

--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm.

_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to