[arm-allstar] Script to run ARRL or ARN news on Allstar
Doug Crompton
doug at crompton.com
Tue Jul 14 18:46:09 EST 2015
ARRLplay is the only file that executes. The other arrlnews.sh file is a test file and is not used.
chmod 750 ARRLplay
then if in the same directory -
./ARRLplay 19:00 40000 ; Play news at 1900 hours to node 40000
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.
Cron example
# Start a cron job every tuesday at 8:30 PM to run at 9 PM the same day
#
# 20 30 * * 2 /etc/asterisk/local/ARRLplay 21:00 & > /dev/null 2>&1
73 Doug
WA3DSP
http://www.crompton.com/hamradio
Date: Tue, 14 Jul 2015 16:20:49 -0400
From: N1XBM at amsat.org
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] Script to run ARRL or ARN news on Allstar
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?
I was looking to make something to work on my acid nodes too
Thanks
On Tue, Jul 14, 2015 at 12:01 AM, Doug Crompton <doug at crompton.com> wrote:
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. Please retain my credits.
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.
You can download here -
http://hamvoip.org/downloads/ARRL-News-for-Allstar.zip
a link will also be at the hamvoip.org web page.
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.
Have fun!
73 Doug
WA3DSP
http://www.crompton.com/hamradio
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20150714/d1198b6b/attachment.html>
More information about the arm-allstar
mailing list