[arm-allstar] *81

Doug Crompton wa3dsp at gmail.com
Wed Apr 15 23:29:32 EDT 2020


Of course put your zip and node in... forgot that -

15 0-23 * * *  (source /usr/local/etc/allstar.env ; /usr/bin/nice -19
/usr/bin/perl /usr/local/sbin/saytime.pl 96130 50718 ; /bin/asterisk -rx
"rpt fun 50718 *80" )


On Wed, Apr 15, 2020 at 11:23 PM Doug Crompton <wa3dsp at gmail.com> wrote:

> I will repeat the line again... it works fine here..
>
> 15 0-23 * * *  (source /usr/local/etc/allstar.env ; /usr/bin/nice -19
> /usr/bin/perl /usr/local/sbin/saytime.pl 18954 42291 ; /bin/asterisk -rx
> "rpt fun 42291 *80" )
>
> The *'s must have spaces before and after each one. best to copy and paste.
>
> *73 Doug, WA3DSP*
>
> *http://wa3dsp.org <http://wa3dsp.org>*
>
>
> On Wed, Apr 15, 2020 at 11:05 PM "Orrin Winton via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> Doug, i got errors with that crontab  syntax, and i'm not great with
>> crontab, so i broke it up
>> and this seems to work (at 19 min after the hour):
>>
>> 19 0-23 * * * /usr/local/sbin/saytime.pl 96130 50718
>> 20 0-23 * * * /etc/asterisk -rx "rpt fun 50718 *80"
>>
>> ... but when it runs at :19 past the hour, the time & weather is
>> announced,
>> then immediately
>> followed by my callsign in CW, but nothing happens at :20 past the hour.
>> (I
>> haven't tried just
>> deleted the entry for :20). ... The /usr/bin/asterisk doesn't exist, so i
>> wrote /etc/asterisk (above).
>>
>> What would this do:  /usr/bin/nice -19
>>
>> Thanks for comments. 73 de wn1z Orrin
>>
>>
>>
>> On Wed, Apr 15, 2020 at 2:51 PM "Doug Crompton via ARM-allstar" <
>> arm-allstar at hamvoip.org> wrote:
>>
>> > This should do it..   you can change the 0-23 to whatever hours you
>> want it
>> > to work. For instance if you want it to announce from 6 AM to 10 PM  it
>> > would be 6-22
>> >
>> > 15 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19
>> > /usr/bin/perl /usr/local/sbin/saytime.pl 96130 50718 ;
>> /usr/bin/asterisk
>> > -rx  "rpt fun 50718 *80" )
>> >
>> >
>> > On Wed, Apr 15, 2020 at 4:59 PM "Orrin Winton via ARM-allstar" <
>> > arm-allstar at hamvoip.org> wrote:
>> >
>> > > Doug, how would i make my node say this (on the 2m side) at, say, 15
>> min
>> > > after the hour,
>> > > followed by my callsign for ID?
>> >
>> >
>> _______________________________________________
>>
>> 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
>>
>


More information about the ARM-allstar mailing list