<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Roger,<br />
<br />
How would you write the SHUTDOWNCMD line with multiple commands?  I’ve been looking at the manual and see that you have to escape the internal “ but am still a little confused on how to do this exactly.</div>
</div>
<div name="messageSignatureSection"><br />
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(34, 34, 34);">--</p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(51, 51, 51);"><span style="color: #222222"><b>Todd Benivegna</b></span> <span style="color: #222222">//</span> <a href="mailto:todd@benivegna.com">todd@benivegna.com</a></p>
</div>
<div name="messageReplySection">On Aug 2, 2020, 9:38 AM -0400, Roger Price <roger@rogerprice.org>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;"><br />
<div>upsmon.conf doesn't support reporting battery charge in the notification<br />
messages, but you can specify multiple shell commands in the SHUTDOWNCMD entry.<br />
E.g. `upsc <a href='mailto:ups@192.168.1.70'>ups@192.168.1.70</a> battery.charge` and `upsc <a href='mailto:ups@192.168.1.70'>ups@192.168.1.70</a><br />
ups.status`. This will show what the situation was at that moment.<br /></div>
</blockquote>
</div>
</body>
</html>