[arm-allstar] *81
Orrin Winton
orrin.winton at gmail.com
Thu Apr 16 18:39:52 EDT 2020
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