[arm-allstar] playnews + crontab

Darrell Black gigahacker at gmail.com
Mon Apr 19 20:53:38 EDT 2021


This works for me, its been playing for about a year

00 19 * * 4 /etc/asterisk/local/playnews/playnews-0.11 ARN 19:30 500260 G
30 11 * * 7 /etc/asterisk/local/playnews/playnews-0.11 ARRL 12:01 500260 G

It has to be the path or the reroute at the end. The cron must be on the
node that you're going to play it on.

On Mon, Apr 19, 2021 at 8:46 PM "James Pahoundis via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> well try this again the thing stripped my (returns) so it was hard to read
> the code put in the crontab
> file.
>
> I have installed playnews and it all works when I have it play now from
> the command line. So I wanted to do the next step and have it put in the
> crontab and have it scheduled to play that way. but have not been able to
> get it to work.
>
> I put in
>
> 30 08 * * 6 /etc/asterisk/playnews/playnews ARRL 08:45 543920 G &>
> /dev/null 2>&1
>
> 30 11 * * 0 /etc/asterisk/playnews/playnews ARN 12:00 543920 G &>
> /dev/null 2>&1
>
> this is how the docs said to do it, But nether
> worked.
> what is wrong?
> James
>
>    -
>
>
> _______________________________________________
>
> 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/4 web page - http://hamvoip.org



-- 

Darrell Black

(517) 917-2226
GigaHacker at gmail.com
http://www.linkedin.com/in/darrellblack


73 de W8DSB
"In God we trust, all others we monitor"

GMRS WRDE739
ALLSTAR 50964
DMR 310195


More information about the ARM-allstar mailing list