<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" face="Tahoma,sans-serif" color="#000000">That should be 50 20 for connect and 20 21 for disconnect - The news is PM not AM. cron is 24 hour time.<br id="FontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">Date: Wed, 6 Apr 2016 16:58:20 +0000<br>To: arm-allstar@hamvoip.org<br>Subject: Re: [arm-allstar] Fwd: Cron Jobs<br>From: arm-allstar@hamvoip.org<br>CC: w0anm73@gmail.com; mrpjf150@gmail.com<br><br><div dir="ltr">Hi Pete,<div><br></div><div>Your entry should be cleaned up as it was missing quotes and syntax for the asterisk command. Here are the updated entries:<div><br></div><blockquote style="border:none;padding:0px;"><div><div style="font-size:12.8px;"><div><div># To disconnect</div></div></div></div><div><div style="font-size:12.8px;"><div><font face="monospace, monospace">20 9 * * 1 /usr/sbin/asterisk -rx "rpt fun <your_node_number> *71</font><span style="font-family:monospace,monospace;font-size:12.8px;">27225"</span></div></div></div><div><div style="font-size:12.8px;"><div><br></div></div></div><div><div style="font-size:12.8px;"># Connecting</div></div><div><span style="font-size:12.8px;"><font face="monospace, monospace">50 8 * * 1 /usr/sbin/asterisk -rx "rpt fun <your_node_number> *7327225"</font></span></div><div><br></div></blockquote><div>So at 8:50 am on Monday, you'll be connecting to node 27225, and disconnecting at 9:20 am. I assume this is correct.</div><div><br></div>Once you save the entry (when using crontab -e), it will save the entry in /var/spool/cron. The cron daemon (crond) will pick up this entry.<div><br></div><div><br></div><div>73,</div><div><br></div><div>Chris, w0anm<br><div><br></div><div><br></div></div></div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Wed, Apr 6, 2016 at 4:34 PM, Pete Fierro via arm-allstar <span dir="ltr"><<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><p dir="ltr">Error</p>
<p dir="ltr">9 should be 21 in disconnect</p>
<p dir="ltr">8 should be 20 in connect</p><div class="ecxHOEnZb"><div class="h5">
<div class="ecxgmail_quote">---------- Forwarded message ----------<br>From: "Pete Fierro" <<a href="mailto:mrpjf150@gmail.com" target="_blank">mrpjf150@gmail.com</a>><br>Date: Apr 6, 2016 12:08 PM<br>Subject: Cron Jobs<br>To: <<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>><br>Cc: <br><br><div dir="ltr"><div><div><div><div><div><div><div><div> Hello<br><br></div> Tinkering with scripting here.I want to connect to the ARRL News Monday night&want the scripts to do this while I'm away.Here is what I have<br><br></div>To disconnect<br><br></div>20 9 * * 1/usr/sbin/asterisk -rx "rpt fun 27225 *76<br><br></div>Connecting<br><br></div>50 8 * * 1 /usr/sbin/asterisk -rx "rpt fun 27225 *73<br><br></div> Entered crontab -e I see both files there.Do these files need to be put in nsomeplace else to be executable?Or are they executable now?<br><br>73<br></div>Pete<br></div>KD2ARB <br></div>
</div>
</div></div><br>_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB and RPi2 web page - <a href="http://hamvoip.org" rel="noreferrer" target="_blank">http://hamvoip.org</a><br></blockquote></div><br></div>
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org</div> </div></body>
</html>