[LUNA] Cron

Jared Wilkinson jared52 at gmail.com
Fri Jun 13 21:27:26 CDT 2014


You can also use monit to monitor the process and it can restart it or
alert you via email if it quit or both.

On Friday, June 13, 2014, John Price <jp_luna at gcfl.net> wrote:

> How about something much simpler...
>
> #!/bin/sh
> while /bin/true; do
>   bfgminer <various command line params>
>   sleep 10 #wait a bit so if there's a real problem you don't hammer the
> server
> done
>
>
>
> On Fri, Jun 13, 2014 at 8:32 PM, Michael W. Hall <hallmw at att.net
> <javascript:;>> wrote:
>
> > Ok.  I have a question.  I am mining BTC.  Have been since February.  I
> > am running bfgminer.  I have it running, but would like to improve it.
> > When I am away from home (work or vacation), the bfgminer program will
> > stop.
> >
> > I know I can do it just not sure how to go about it.  I would like the
> > system to check every 5 minutes or so if the bfgminer is running.  If it
> > is then do nothing.  If it is not then I would like to restart.  I have
> > to start the program like so,
> >
> > bfgminer <various command line params>
> >
> > Any ideas on the best way to do this?
> >
> > Thanks,
> > Michael
> >
> > _______________________________________________
> > LUNA mailing list
> > LUNA at lunagroup.us <javascript:;>
> > http://lunagroup.us/mailman/listinfo/luna
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lunagroup.us/pipermail/luna/attachments/20140613/8f743ab7/attachment.html
> >
> _______________________________________________
> LUNA mailing list
> LUNA at lunagroup.us <javascript:;>
> http://lunagroup.us/mailman/listinfo/luna
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lunagroup.us/pipermail/luna/attachments/20140613/413b6a6b/attachment.html>


More information about the LUNA mailing list