[arm-allstar] Cron Job
Pierre Martel
petem001 at gmail.com
Sun Jul 10 05:25:20 EST 2016
The cron tab thing is a nice fix, but it is not a real solution.
I am in the same situation as the OP.
never had a stable Echolink database.
I would think thst it would be possible to trigger a full database dowbload
in ome way when there is 2 unautorized connection from the same Ip or node
number in a 90 second span?
or a fix full reload every 4 hours? this would help a lot.
I have 2 node connected all the time and astres.sh redo the connection and
Alison start announcing all those message every time. And I have user on
the repeater all night long.
On Thursday, 7 July 2016, Doug Crompton via arm-allstar <
arm-allstar at hamvoip.org> wrote:
> Since we are single user - root - there is probably no reason to do it
> that way. crontab is setup to use nano in our release and very easy to
> edit. Also using crontab there is validity checking. There is not if you
> just create a file on your own.
>
>
>
> *73 DougWA3DSPhttp://www.crompton.com/hamradio
> <http://www.crompton.com/hamradio>*
>
>
> > Date: Wed, 6 Jul 2016 23:30:56 -0700
> > From: david at lang.hm <javascript:_e(%7B%7D,'cvml','david at lang.hm');>
> > To: arm-allstar at hamvoip.org
> <javascript:_e(%7B%7D,'cvml','arm-allstar at hamvoip.org');>
> > CC: doug at crompton.com
> <javascript:_e(%7B%7D,'cvml','doug at crompton.com');>
> > Subject: Re: [arm-allstar] Cron Job
> >
> > I would suggest adding the following to /etc/crontab instead
> >
> > 0 2 * * * pi /usr/local/sbin/astres.sh
> >
> > This file can be edited with any tools (unlike the stuff you access via
> crontab
> > -e)
> >
> > This is the 'new' way as of about 10 years ago, much more flexible :-)
> >
> > David Lang
> >
> > On Thu, 7 Jul 2016, Doug Crompton via arm-allstar wrote:
> >
> > > Jeff,
> > >
> > > Not sure why that is happening. My echolink is very solid here. To
> setup a cron to do astres.sh at 2 AM do
> > >
> > > crontab -e (then add the following in a new line after what is there
> and save)
> > >
> > > 0 2 * * * /usr/local/sbin/astres.sh
> > >
> > >
> > > The first entry is minute and second hour. Change it to whatever you
> want.
> > >
> > > 73 Doug
> > > WA3DSP
> > > http://www.crompton.com/hamradio
> > >
> > >
> > > To: arm-allstar at hamvoip.org
> <javascript:_e(%7B%7D,'cvml','arm-allstar at hamvoip.org');>
> > > Date: Wed, 6 Jul 2016 21:02:58 -0500
> > > Subject: [arm-allstar] Cron Job
> > > From: arm-allstar at hamvoip.org
> <javascript:_e(%7B%7D,'cvml','arm-allstar at hamvoip.org');>
> > > CC: kd0qcn at aecimo.org
> <javascript:_e(%7B%7D,'cvml','kd0qcn at aecimo.org');>
> > >
> > > Hi all, we are running Echolink on our Allstar controller on our
> repeater. It seems that we lose direct Echolink connectivity, while a proxy
> connection will always connect. Best I can figure is something is happening
> that causes it to stop updating the database so it lets the proxy to
> continue to work but the direct connections say they are unauthorized. All
> I have to do is run astres.sh and everything works again, just as it
> should. I’m getting tired of having to log in all the time to do this so
> what I would like to do is have it run astres.sh every night at say 02:00.
> I am not a Linux guru, so could someone help point me in the right
> direction? Thanks for any help,Jeff KD0QCN
> > > _______________________________________________
> > >
> > > arm-allstar mailing list
> > > arm-allstar at hamvoip.org
> <javascript:_e(%7B%7D,'cvml','arm-allstar at hamvoip.org');>
> > > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> > >
> > > Visit the BBB and RPi2 web page - http://hamvoip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160710/f8f1a6aa/attachment-0001.html>
More information about the arm-allstar
mailing list