<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Yes, yes I have.  I’ve been trying that today as it would be the perfect solution.<div><br></div><div>One of the commands I’m running through the system crontab is to stop a service.  I tried the same thing through the spider crontab.</div><div><br></div><div>I did some testing and this didn’t stop the service.   </div><div><br></div><div><span style="font-family: Menlo; font-size: 11px;">50 00 * * * spawn("sudo service xxx stop")</span></div><div><font face="Menlo"><span style="font-size: 11px;"><br></span></font></div><div>I tried using sudo systemctl stop xxx as well, no joy.  It shows in the debug log but the service doesn’t stop.</div><div><br></div><div><p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures;">1675025460^(cron) cron: 51 20 29 1 0 -> doing 'spawn("sudo systemctl stop xxx")'</span></p><p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures;">1675025460^(cron) DXCron::spawn: sudo systemctl stop xxx</span></p><p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">1675025460^(progress) subprocess stats cmd: 'sudo systemctl stop xxx' by DXCron::spawn 82mS</p><p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><br></p></div><div>I’ve also tested using ‘ instead of “ because I have some spawn commands in my spider crontab with ‘ and some with “, neither work to stop the service.</div><div><br></div><div>Also tried this in case it needed the path.</div><div><br></div><div><p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures;">02 21 * * * spawn('sudo /usr/bin/systemctl stop xxx')</span></p></div><div><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div>That also didn’t stop the service.</div><div><br></div><div><p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures;">1675026120^(cron) cron: 2 21 29 1 0 -> doing 'spawn('sudo /usr/bin/systemctl stop xxx')'</span></p></div><div><span style="font-family: Menlo; font-size: 11px;">1675026120^(cron) DXCron::spawn: sudo /usr/bin/systemctl stop xxx</span></div><div><span style="font-variant-ligatures: no-common-ligatures;"><p style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span style="font-variant-ligatures: no-common-ligatures;">1675026120^(progress) subprocess stats cmd: 'sudo /usr/bin/systemctl stop xxx' by DXCron::spawn 90mS</span></p><div><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div></span></div><div>73 Keith</div><div><br><blockquote type="cite"><div>On 29 Jan 2023, at 20:25, Kin EA3CV <ea3cv@cronux.net> wrote:</div><br class="Apple-interchange-newline"><div><div><div><span style="color: rgb(77, 81, 86); font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255); display: inline !important;">And you haven't thought about centralizing everything in the spider crontab, it would be easier, I think.</span><br><div dir="auto"><span style="color:rgb(77, 81, 86);font-family:Roboto, "Helvetica Neue", Arial, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important"><br></span></div><div dir="auto"><span style="color: rgb(77, 81, 86); font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255); display: inline !important;">Kin </span></div><div dir="auto"><span style="color: rgb(77, 81, 86); font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255); display: inline !important;"><br></span></div></div><div><br></div><div id="ms-outlook-mobile-signature" dir="auto">Obtener <a href="https://aka.ms/AAb9ysg">Outlook para Android</a></div></div>
</div></blockquote></div><br></body></html>