<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">ARRLplay is the only file that executes. The other arrlnews.sh file is a test file and is not used.<br><br>chmod 750 ARRLplay<br><br>then if in the same directory -<br><br>./ARRLplay 19:00 40000 ; Play news at 1900 hours to node 40000<br id="FontBreak"></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">You need to execute this at least 15 minutes before the alloted time but within the same day. It needs to format the file and give 10 and 5 minute warnings. </font><br><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Cron example</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"># Start a cron job every tuesday at 8:30 PM to run at 9 PM the same day</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">#</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"># 20 30 * * 2 /etc/asterisk/local/ARRLplay 21:00 & > /dev/null 2>&1</font><br><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: Tue, 14 Jul 2015 16:20:49 -0400<br>From: N1XBM@amsat.org<br>To: arm-allstar@hamvoip.org<br>Subject: Re: [arm-allstar] Script to run ARRL or ARN news on Allstar<br><br><div dir="ltr"><div><div>Hey Doug, thats great, I've been playing with script writting and I was working on something like this. So it will be interesting to compare your work to mine. I read the readme and I see that I need to chmod 750 the arrlplay file I assume that will need to be done to arrlnews.sh too?<br><br></div>I was looking to make something to work on my acid nodes too<br><br></div>Thanks<br></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Tue, Jul 14, 2015 at 12:01 AM, Doug Crompton <span dir="ltr"><<a href="mailto:doug@crompton.com" target="_blank">doug@crompton.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr"><font face="Tahoma,sans-serif" color="#000000">I have created a script that I use to play either ARRL or ARN news feed on Allsar. It is totally automatic and could be run with a cron job to play weekly or however often you wish. This is plug and play for the RPi2 or BBB. It will not run on Centos Acid as is without some package downloads which may or may not be available. Limited documentation is in the README located in the file package and in the ARRLplay script itself. It is fairly self explanatory. I use it here weekly and it serves the purpose and works well. You are welcome to use it and make changes as you wish. </font><font face="Tahoma,sans-serif" color="#000000"><font face="Tahoma,sans-serif" color="#000000">Please retain my credits.<br><br></font>As packaged it plays ARRL news which is published weekly on non holiday Fridays. I have also used it with Amateur Radio Newsline. An example is shown in the ARRLplay script to use ARN. ARN was down for awhile with the death of Bill Pasternak and I started using ARRL news which I tend to prefer as it is shorter in length with less fluff.<br><br>You can download here -<br><br><a href="http://hamvoip.org/downloads/ARRL-News-for-Allstar.zip" target="_blank">http://hamvoip.org/downloads/ARRL-News-for-Allstar.zip</a><br><br></font><font face="Tahoma,sans-serif">a link will also be at the <a href="http://hamvoip.org" target="_blank">hamvoip.org</a> web page.<br><br>If you use this script PLEASE use discretion when playing the news. The script has the option of playing locally or globally (all nodes you are connected to) If playing globally outside of your local system please make sure you have the permission of all of the nodes you are connected to.<br></font><br><font face="Tahoma,sans-serif">Have fun!</font><br><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"><a href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamradio</a></font></b><font style="font-size:16pt;" size="4"><br></font> </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>