[arm-allstar] Playnews

Doug Crompton wa3dsp at gmail.com
Mon Nov 19 00:10:02 EST 2018


Chris,

 Rather than critique your lines here are mine-

The first one starts the ARRL download and cues it up at 2030 on Monday
then it actually plays at 21:01 to node 27225. If you leave the L or G off
it assumes G - global.

The second one does the same thing for ARN news on Sunday with the same
times.

You need to cue it up at least 15 minutes before playtime. I just did it a
half hour before to be safe. It give warning messages at 10 and 5 minutes
before to clear traffic.

You will see the files created cued in /tmp before they are played. They
are deleted as they are played.

Disregard the name of the file I am using in your case it would probably
just be playnews.

# 1 for Monday
# Weekly playing of ARRL news
30 20 * * 1 /etc/asterisk/local/playnews/playnews-0.12 ARRL 21:01 27225
#
# 0 for Sunday
# Weekly playing of ARN news
30 20 * * 0 /etc/asterisk/local/playnews/playnews-0.12 ARN 21:01 27225
#


*73 Doug*

*WA3DSP*

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


On Sun, Nov 18, 2018 at 11:59 PM "Chris Viningre via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> I have playnews playing when I type ./playnews ARRL NOW 47433 G from the
> command line. I cant get it to run automatically. Here is my  crontab -e.
> Maybe something wrong there? I was setting it up to run on the hour.
>
> 30 23 * * 1 /etc/asterisk/local/playnews/playnews ARRL 00:00 47433 G &>
> /dev/null 2>&1
> 00 00 * * 1 /etc/asterisk/local/playnews/playnews ARN 01:00 47433 G &>
> /dev/null 2>&1
> 30 01 * * 1 /etc/asterisk/local/playnews/playnews ARRL 02:00 47433 G &>
> /dev/null 2>&1
> 00 02 * * 1 /etc/asterisk/local/playnews/playnews ARN 03:00 47433 G &>
> /dev/null 2>&1
> 30 03 * * 1 /etc/asterisk/local/playnews/playnews ARRL 04:00 47433 G &>
> /dev/null 2>&1
> 00 04 * * 1 /etc/asterisk/local/playnews/playnews ARN 05:00 47433 G &>
> /dev/null 2>&1
> 30 05 * * 1 /etc/asterisk/local/playnews/playnews ARRL 06:00 47433 G &>
> /dev/null 2>&1
> 00 06 * * 1 /etc/asterisk/local/playnews/playnews ARN 07:00 47433 G &>
> /dev/null 2>&1
> 30 07 * * 1 /etc/asterisk/local/playnews/playnews ARRL 08:00 47433 G &>
> /dev/null 2>&1
> 00 08 * * 1 /etc/asterisk/local/playnews/playnews ARN 09:00 47433 G &>
> /dev/null 2>&1
> 30 09 * * 1 /etc/asterisk/local/playnews/playnews ARRL 10:00 47433 G &>
> /dev/null 2>&1
> 00 10 * * 1 /etc/asterisk/local/playnews/playnews ARN 11:00 47433 G &>
> /dev/null 2>&1
> 30 11 * * 1 /etc/asterisk/local/playnews/playnews ARRL 12:00 47433 G &>
> /dev/null 2>&1
> 00 12 * * 1 /etc/asterisk/local/playnews/playnews ARN 13:00 47433 G &>
> /dev/null 2>&1
> 30 13 * * 1 /etc/asterisk/local/playnews/playnews ARRL 14:00 47433 G &>
> /dev/null 2>&1
> 00 14 * * 1 /etc/asterisk/local/playnews/playnews ARN 15:00 47433 G &>
> /dev/null 2>&1
> 30 15 * * 1 /etc/asterisk/local/playnews/playnews ARRL 16:00 47433 G &>
> /dev/null 2>&1
> 00 16 * * 1 /etc/asterisk/local/playnews/playnews ARN 17:00 47433 G &>
> /dev/null 2>&1
> 30 17 * * 1 /etc/asterisk/local/playnews/playnews ARRL 18:00 47433 G &>
> /dev/null 2>&1
> 00 18 * * 1 /etc/asterisk/local/playnews/playnews ARN 19:00 47433 G &>
> /dev/null 2>&1
> 30 19 * * 1 /etc/asterisk/local/playnews/playnews ARRL 20:00 47433 G &>
> /dev/null 2>&1
> 00 20 * * 1 /etc/asterisk/local/playnews/playnews ARN 21:00 47433 G &>
> /dev/null 2>&1
> 30 21 * * 1 /etc/asterisk/local/playnews/playnews ARRL 22:00 47433 G &>
> /dev/null 2>&1
> 00 22 * * 1 /etc/asterisk/local/playnews/playnews ARN 23:00 47433 G &>
> /dev/null 2>&1
>
>
>
>
>
>
>
>
>
>
>
> Chris Viningre
> 70 W. Roadrunner
> Salt Flat, Texas 79847
> C:(915) 504-1510
> chrisviningre at gmail.com
>
>
>
> On Sun, Nov 18, 2018 at 4:01 PM "Doug Crompton via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Chris,
> >
> >  Is playnews executable?  In its directory type -  chmod 755 playnews
> or
> > whatever the file name is.
> >
> >
> > *73 Doug*
> >
> > *WA3DSP*
> >
> > *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
> >
> > On Sun, Nov 18, 2018 at 5:57 PM "Chris Viningre via ARM-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> > > I'm trying to add playnews to one on my nodes. I feel like I'm
> following
> > > the readme correctly but I still have a problem playing it from the
> > command
> > > line. I get Permission denied.
> > >
> > > [root at Marty local]# ./playnews ARRL NOW 47433 G
> > > bash: ./playnews: Permission denied
> > > [root at Marty local]# ./playnews ARN NOW 47433 G
> > > bash: ./playnews: Permission denied
> > >
> > > Chris Viningre
> > > 70 W. Roadrunner
> > > Salt Flat, Texas 79847
> > > C:(915) 504-1510
> > > chrisviningre at gmail.com
> > > _______________________________________________
> > >
> > > 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
> > >
> > _______________________________________________
> >
> > 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
> >
> _______________________________________________
>
> 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