[arm-allstar] playnews-0.6
Doug Crompton
doug at crompton.com
Mon Aug 31 22:36:39 EST 2015
OK I will correct that.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
Date: Mon, 31 Aug 2015 21:50:32 -0500
From: w0kgw3 at gmail.com
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] playnews-0.6
Doug,
Just a FYI, the README cron format is incorrect, it should be minutes hours (30 20 * *), you have it hours minutes (20 30 * *)
Cheers,
Joel
W0KGW
On Mon, Aug 31, 2015 at 6:03 PM, Doug Crompton <doug at crompton.com> wrote:
If you try to run a script or program in Linux and you are in the directory when it resides it will not run unless you precede the name with ./ - so ./playnews .... should work. You could also use the complete path which is what you would do if you were trying to run it in a cron job or if you were in another directory.
The file should have proper permission... if not - chmod 750 playnews
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: ka5iid at swbell.net
Date: Mon, 31 Aug 2015 17:37:21 -0500
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] playnews-0.6
Doug, have the playnews file in the /etc/asterisk/local/playnews directory and did the rename to remove the -0.6. ls shows it there. When I try and run playnews ARRL NOW L it states -bash: playnews: command not found
What am I missing, permissions maybe?
Sent from my iPhone
On Aug 30, 2015, at 11:01 PM, Doug Crompton <doug at crompton.com> wrote:
I put a new version of playnews up on hamvoip.org in the howto section. It includes a request for playing now in console mode. This is useful if you want to get everything ready to play and manually hit a key to start it.
http://hamvoip.org/downloads/playnews-0.6.tar.gz
Changes from 0.5
- If you enter "now" for the time it will download and process the files, skip the pre-warnings, wait for any key to be pressed and play the news.
- The node number must be entered.
- An optional last parameter L|G for local or global play can be entered. If omitted playback is global.
I recommend making a directory "playnews" in /etc/asterisk/local cd to that directory and untar the files there.
Rename playnews-0.6 to playnews once extracted.
If the files are not placed in /etc/asterisk/local/playnews you must specify the location in the VOICEDIR variable in the script.
v0.6 updates
- Now requires that all parameters be entered except
mode which defaults to global if not entered
- More parameter checking added
- Time can be set to "NOW" for immediate start
Command line format - playnews ARRL|ARN 21:00|NOW 40000 L|G
Options are ARRL or ARN news, specific 24 hour time or "NOW"
and local "L" or Global "G" play modes.
DO NOT use the the "NOW" time parameter in a cron !!!
Read the complete README file in the archive and also in the beginning of the script.
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
_______________________________________________
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/20150831/419dcde2/attachment.html>
More information about the arm-allstar
mailing list