[arm-allstar] ARM-allstar Digest, Vol 92, Issue 9

Shuler Burton shulerburton at gmail.com
Sun Jan 9 12:07:00 EST 2022


https://linuxhint.com/cron_jobs_complete_beginners_tutorial/
Cron is the Linux scheduler. 

Shuler Burton


> On Jan 9, 2022, at 12:00 PM, arm-allstar-request at hamvoip.org wrote:
> 
> Send ARM-allstar mailing list submissions to
>    arm-allstar at hamvoip.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> or, via email, send a message with subject or body 'help' to
>    arm-allstar-request at hamvoip.org
> 
> You can reach the person managing the list at
>    arm-allstar-owner at hamvoip.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ARM-allstar digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Global timed messages (Matt Holder)
>   2. Re: Global timed messages (Dave Petrie)
>   3. Re: Global timed messages (Dave Petrie)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 9 Jan 2022 15:27:13 +0000 (UTC)
> From: Matt Holder <ke0ncp at yahoo.com>
> To: ARM Allstar <arm-allstar at hamvoip.org>
> Subject: Re: [arm-allstar] Global timed messages
> Message-ID: <1029483257.924180.1641742033208 at mail.yahoo.com>
> Content-Type: text/plain; charset=UTF-8
> 
> So I am not having much luck with this. I can not get the playback function to work at all. Nor can I get the playnews script to work using the instructions provided with the script.
> The only successful way that I have gotten the playnews scrip to work is by following M0FLF's youtube tutorial which uses the following cron tab:
> 25 21 * * 1 /etc/asterisk/local/playnews/disconnect.sh 51237 *7630 21 * * 1 /etc/asterisk/local/playnews/playnews-0.11 ARN NOW 51237 G55 21 * * 1 /etc/asterisk/local/playnews/playnews-0.11 ARRL NOW 51237 G15 22 * * 1 /etc/asterisk/local/playnews/connect.sh 51237 *7345830
> the disconnect and connect .sh files are executable using chmod 750 and look like this:
> disconnect:#!/bin/bash/usr/bin/asterisk -rx "rpt fun $1 *1$2"?
> 
> connect:?#!/bin/bash/usr/bin/asterisk -rx "rpt fun $1 *3$2"
> 
> I have no idea what those files are actually doing but it seems without them the news wont play. I also don't want my node to disconnect and would be great if it actually announced the 10 min and 5 min announcements.
> I am not sure what I am doing wrong though. I spent about an hour and a half the other day and was not able to get it working.
> Anyone have any suggestions?to play the news via a cron job globally and play the 5/10 min messages globally?
> Thanks!!!
> Matt - ke0ncp
> 
> Sent from Yahoo Mail for iPhone
> 
> 
> On Friday, December 31, 2021, 3:33 PM, Matt Holder <ke0ncp at yahoo.com> wrote:
> 
> It says it does but I must be running it wrong.?
> 
> 
> Sent from Yahoo Mail for iPhone
> 
> 
> On Friday, December 31, 2021, 1:03 PM, Kevin Davis via ARM-allstar <arm-allstar at hamvoip.org> wrote:
> 
> Doesn't the playnews script already play a 10 and 5 minute warning?
> 
>> On Mon, Dec 27, 2021 at 9:09 PM "Matt Holder via ARM-allstar" <
>> arm-allstar at hamvoip.org> wrote:
>> 
>> Hello,
>> I am trying to set up my node so that it does some global timed messages
>> for the start of news line ARRL news across a node that I connect to. I
>> have the news up and playing just fine but can?t seem to find out how to do
>> the timed global messages. Any suggestions?
>> Best,Matt - ke0ncp
>> 
>> 
>> Sent from Yahoo Mail for iPhone
>> _______________________________________________
>> 
>> 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
> _______________________________________________
> 
> 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
> 
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Sun, 9 Jan 2022 11:13:10 -0500
> From: Dave Petrie <wa2kjc at gmail.com>
> To: ARM Allstar <arm-allstar at hamvoip.org>
> Subject: Re: [arm-allstar] Global timed messages
> Message-ID:
>    <CAHwr_CXyhgQbEnziyN=L_q+mza3ozkUtDSUjewa8Q_p4532TTg at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> Hi Matt, I am connected to your node if you would like to chat about it.
> I just verified mine works. login into your node, putty, menu 9,
> then cd \  and hit enter twice and the cd /  and hit enter twice and then
> type this
> 
> ,/etc/asterisk/local/playnews/playnews-0.11 ARN NOW 51237
> 
> and hit enter it will download and play now without the 10min and 5 min
> announcements, if you want them to play then change NOW to 20 mins ahead of
> your typing so that it can download and announce
> 
> Dave-wa2kjc node 40039 if you want to chat
> 
> 
> On Sun, Jan 9, 2022 at 10:56 AM "Matt Holder via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
> 
>> So I am not having much luck with this. I can not get the playback
>> function to work at all. Nor can I get the playnews script to work using
>> the instructions provided with the script.
>> The only successful way that I have gotten the playnews scrip to work is
>> by following M0FLF's youtube tutorial which uses the following cron tab:
>> 25 21 * * 1 /etc/asterisk/local/playnews/disconnect.sh 51237 *7630 21 * *
>> 1 /etc/asterisk/local/playnews/playnews-0.11 ARN NOW 51237 G55 21 * * 1
>> /etc/asterisk/local/playnews/playnews-0.11 ARRL NOW 51237 G15 22 * * 1
>> /etc/asterisk/local/playnews/connect.sh 51237 *7345830
>> the disconnect and connect .sh files are executable using chmod 750 and
>> look like this:
>> disconnect:#!/bin/bash/usr/bin/asterisk -rx "rpt fun $1 *1$2"
>> 
>> connect: #!/bin/bash/usr/bin/asterisk -rx "rpt fun $1 *3$2"
>> 
>> I have no idea what those files are actually doing but it seems without
>> them the news wont play. I also don't want my node to disconnect and would
>> be great if it actually announced the 10 min and 5 min announcements.
>> I am not sure what I am doing wrong though. I spent about an hour and a
>> half the other day and was not able to get it working.
>> Anyone have any suggestions to play the news via a cron job globally and
>> play the 5/10 min messages globally?
>> Thanks!!!
>> Matt - ke0ncp
>> 
>> Sent from Yahoo Mail for iPhone
>> 
>> 
>> On Friday, December 31, 2021, 3:33 PM, Matt Holder <ke0ncp at yahoo.com>
>> wrote:
>> 
>> It says it does but I must be running it wrong.
>> 
>> 
>> Sent from Yahoo Mail for iPhone
>> 
>> 
>> On Friday, December 31, 2021, 1:03 PM, Kevin Davis via ARM-allstar <
>> arm-allstar at hamvoip.org> wrote:
>> 
>> Doesn't the playnews script already play a 10 and 5 minute warning?
>> 
>> On Mon, Dec 27, 2021 at 9:09 PM "Matt Holder via ARM-allstar" <
>> arm-allstar at hamvoip.org> wrote:
>> 
>>> Hello,
>>> I am trying to set up my node so that it does some global timed messages
>>> for the start of news line ARRL news across a node that I connect to. I
>>> have the news up and playing just fine but can?t seem to find out how to
>> do
>>> the timed global messages. Any suggestions?
>>> Best,Matt - ke0ncp
>>> 
>>> 
>>> Sent from Yahoo Mail for iPhone
>>> _______________________________________________
>>> 
>>> 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
>> _______________________________________________
>> 
>> 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
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 
>> 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
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Sun, 9 Jan 2022 11:33:34 -0500
> From: Dave Petrie <wa2kjc at gmail.com>
> To: ARM Allstar <arm-allstar at hamvoip.org>
> Subject: Re: [arm-allstar] Global timed messages
> Message-ID: <E31C48B9-3E4B-4215-8619-0B615B518B00 at gmail.com>
> Content-Type: text/plain;    charset=utf-8
> 
> That should be a period in front of /etc
> 
> 
> Sent from my iPhone
> 
>> On Jan 9, 2022, at 11:13 AM, Dave Petrie <wa2kjc at gmail.com> wrote:
>> 
>> ?
>> Hi Matt, I am connected to your node if you would like to chat about it.
>> I just verified mine works. login into your node, putty, menu 9,
>> then cd \  and hit enter twice and the cd /  and hit enter twice and then type this
>> 
>> ,/etc/asterisk/local/playnews/playnews-0.11 ARN NOW 51237
>> 
>> and hit enter it will download and play now without the 10min and 5 min announcements, if you want them to play then change NOW to 20 mins ahead of your typing so that it can download and announce
>> 
>> Dave-wa2kjc node 40039 if you want to chat
>> 
>> 
>>>> On Sun, Jan 9, 2022 at 10:56 AM "Matt Holder via ARM-allstar" <arm-allstar at hamvoip.org> wrote:
>>> So I am not having much luck with this. I can not get the playback function to work at all. Nor can I get the playnews script to work using the instructions provided with the script.
>>> The only successful way that I have gotten the playnews scrip to work is by following M0FLF's youtube tutorial which uses the following cron tab:
>>> 25 21 * * 1 /etc/asterisk/local/playnews/disconnect.sh 51237 *7630 21 * * 1 /etc/asterisk/local/playnews/playnews-0.11 ARN NOW 51237 G55 21 * * 1 /etc/asterisk/local/playnews/playnews-0.11 ARRL NOW 51237 G15 22 * * 1 /etc/asterisk/local/playnews/connect.sh 51237 *7345830
>>> the disconnect and connect .sh files are executable using chmod 750 and look like this:
>>> disconnect:#!/bin/bash/usr/bin/asterisk -rx "rpt fun $1 *1$2" 
>>> 
>>> connect: #!/bin/bash/usr/bin/asterisk -rx "rpt fun $1 *3$2"
>>> 
>>> I have no idea what those files are actually doing but it seems without them the news wont play. I also don't want my node to disconnect and would be great if it actually announced the 10 min and 5 min announcements.
>>> I am not sure what I am doing wrong though. I spent about an hour and a half the other day and was not able to get it working.
>>> Anyone have any suggestions to play the news via a cron job globally and play the 5/10 min messages globally?
>>> Thanks!!!
>>> Matt - ke0ncp
>>> 
>>> Sent from Yahoo Mail for iPhone
>>> 
>>> 
>>>> On Friday, December 31, 2021, 3:33 PM, Matt Holder <ke0ncp at yahoo.com> wrote:
>>> 
>>> It says it does but I must be running it wrong. 
>>> 
>>> 
>>> Sent from Yahoo Mail for iPhone
>>> 
>>> 
>>>> On Friday, December 31, 2021, 1:03 PM, Kevin Davis via ARM-allstar <arm-allstar at hamvoip.org> wrote:
>>> 
>>> Doesn't the playnews script already play a 10 and 5 minute warning?
>>> 
>>> On Mon, Dec 27, 2021 at 9:09 PM "Matt Holder via ARM-allstar" <
>>> arm-allstar at hamvoip.org> wrote:
>>> 
>>>> Hello,
>>>> I am trying to set up my node so that it does some global timed messages
>>>> for the start of news line ARRL news across a node that I connect to. I
>>>> have the news up and playing just fine but can?t seem to find out how to do
>>>> the timed global messages. Any suggestions?
>>>> Best,Matt - ke0ncp
>>>> 
>>>> 
>>>> Sent from Yahoo Mail for iPhone
>>>> _______________________________________________
>>>> 
>>>> 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
>>> _______________________________________________
>>> 
>>> 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
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 
>>> 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
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> 
> ------------------------------
> 
> End of ARM-allstar Digest, Vol 92, Issue 9
> ******************************************


More information about the ARM-allstar mailing list