[arm-allstar] *81

Doug Crompton wa3dsp at gmail.com
Thu Apr 16 22:25:17 EDT 2020


Orin,

  Glad you got it going. Yes the spaces need to be there AND it has to all
be on one line. This only plays locally - to any RF connected to that node
- it does not go out over the network.

*73 Doug, WA3DSP*
*http://wa3dsp.org <http://wa3dsp.org>*

On Thu, Apr 16, 2020 at 6:40 PM Orrin Winton <orrin.winton at gmail.com> wrote:

> Doug, thanks, i got it working this time. My problem before was not the
> spacing of the * * *
> Could the problem have been that i didn't have your code <<all on one
> line>>? In other
> words, i had line breaks without a \ to continue the line. ... At any rate
> it's working.
>
> There's no 'danger' of this going out onto the Allstar network when i'm
> connected, is
> there? (Just checking. Ignorant question i'm sure.)
>
> 73 de wn1z
> Orrin
>
>
>
> On Wed, Apr 15, 2020 at 8:29 PM "Doug Crompton via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> 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" )
>> >> >
>>
>>


More information about the ARM-allstar mailing list