[arm-allstar] Cron Job
Doug Crompton
doug at crompton.com
Thu Jul 7 02:25:37 EST 2016
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 Doug
WA3DSP
http://www.crompton.com/hamradio
> Date: Wed, 6 Jul 2016 23:30:56 -0700
> From: david at lang.hm
> To: arm-allstar at hamvoip.org
> CC: 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
> > Date: Wed, 6 Jul 2016 21:02:58 -0500
> > Subject: [arm-allstar] Cron Job
> > From: arm-allstar at hamvoip.org
> > CC: 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
> > 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/20160707/399884c5/attachment.html>
More information about the arm-allstar
mailing list