[arm-allstar] Playnews migration to v1.5

Doug Crompton wa3dsp at gmail.com
Tue Jan 31 23:43:52 EST 2017


Robert,

Are the * before and after actually in the line or just in the email you
sent me?

Your line -

*30 19 * * 3 /etc/asterisk/local/playnews/playnews-0.9 ARN 20:01 42738 G*

​right line -​


30 19 * * 3 /etc/asterisk/local/playnews/playnews-0.9 ARN 20:01 42738 G

​
You should enter something that plays soon after you enter it. Something
like -

30 19 * * * /etc/asterisk/local/playnews/playnews-0.9 ARN 19:35 42738 L

set the start time to a few minutes ahead of current time and run time
about 5 minutes ahead of that and to local so you hear it only on your node.




 ​







*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Tue, Jan 31, 2017 at 10:39 PM, "Robert Conklin via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Thank you for your time with this Doug.
>
> It does not respond to my crontab tasks at all. here is an example of one
> of my cronjobs.
>
> *30 19 * * 3 /etc/asterisk/local/playnews/playnews-0.9 ARN 20:01 42738 G*
>
> Per your query, entering the following command at 21:28:
> *[root at Allstr_42738 playnews]# ./playnews-0.9 ARRL 21:41 42738 G*
>
> With the following results on the console. The 10 and 5 minute warnings
> play, and the news plays fine at the appointed time. The files appear where
> they should and are deleted after the news plays.
>
> *[root at Allstr_42738 playnews]# ./playnews-0.9 ARRL 21:41 42738 G*
> *Starting Download of ARRL Audio News @ 21:28:35*
> *WARNING: combining -O with -r or -p will mean that all downloaded content*
> *will be placed in the single file you specified.*
>
> *--2017-01-31 21:28:35--
>  http://content.blubrry.com/arrlaudionews/AAN-2017-01-27.mp3
> <http://content.blubrry.com/arrlaudionews/AAN-2017-01-27.mp3>*
> *Resolving content.blubrry.com <http://content.blubrry.com>
> (content.blubrry.com <http://content.blubrry.com>)... 69.16.175.42,
> 69.16.175.10*
> *Connecting to content.blubrry.com <http://content.blubrry.com>
> (content.blubrry.com <http://content.blubrry.com>)|69.16.175.42|:80...
> connected.*
> *HTTP request sent, awaiting response... 200 OK*
> *Length: 13593747 (13M) [audio/mpeg]*
> *Saving to: '/media/USBDRV/TEMP_DIRECTORY/news.mp3'*
>
> */media/USBDRV/TEMP_DI 100%[======================>]  12.96M  1.22MB/s
>  in 8.6s*
>
> *2017-01-31 21:28:44 (1.51 MB/s) - '/media/USBDRV/TEMP_DIRECTORY/news.mp3'
> saved [13593747/13593747]*
>
> *FINISHED --2017-01-31 21:28:44--*
> *Total wall clock time: 8.8s*
> *Downloaded: 1 files, 13M in 8.6s (1.51 MB/s)*
> *Download complete @ 21:28:44*
> *Converting from MP3 to individual ulaw format files*
> *Creating /media/USBDRV/TEMP_DIRECTORY/news.part1.wav*
> *Creating /media/USBDRV/TEMP_DIRECTORY/news.part2.wav*
> *Creating /media/USBDRV/TEMP_DIRECTORY/news.part3.wav*
> *Creating /media/USBDRV/TEMP_DIRECTORY/news.part4.wav*
> *Creating /media/USBDRV/TEMP_DIRECTORY/news.part5.wav*
> *Creating /media/USBDRV/TEMP_DIRECTORY/news.part6.wav*
> *Converting to /media/USBDRV/TEMP_DIRECTORY/news.part1.ul*
> *Converting to /media/USBDRV/TEMP_DIRECTORY/news.part2.ul*
> *Converting to /media/USBDRV/TEMP_DIRECTORY/news.part3.ul*
> *Converting to /media/USBDRV/TEMP_DIRECTORY/news.part4.ul*
> *Converting to /media/USBDRV/TEMP_DIRECTORY/news.part5.ul*
> *Converting to /media/USBDRV/TEMP_DIRECTORY/news.part6.ul*
> *ARRL news will start at 21:41 and use playback (global) mode on*
> *node - 42738  with 5 and 10 minute pre-warnings*
> *Waiting to send 10 minute warning*
> *Waiting to send 5 minute warning*
>
>
> --
> Robert Conklin
> *N4WGY <http://qrz.com/db/N4WGY>*
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
>


More information about the arm-allstar mailing list