Post
Topic
Board Mining support
Re: Avalon 841 OpenWrt CGMiner multi-pool setup and usage
by
DordOfLarkness
on 11/03/2019, 03:19:27 UTC
Sorry, I didn't put enough info in my original question...I was coming from another thread and didn't frame things clearly.

Given the chances of actually finding a block by yourself with such a low hash-rate i wouldn't personally bother, but to each their own...

You're right, the chances are so low, the solo lottery is kind of pointless.  I'm doing that part as an exercise. I enjoy tinkering with the gear.  For what I'll be making in return, the whole thing is just an exercise...in many things haha

Thanks for the info on crontab.  Very helpful indeed, and very much appreciated.

End result should be something like:

Code:
0 0 * * 3 cp /root/cgminer.pool1.conf /etc/cgminer.conf && /etc/init.d/cgminer reload
0 0 * * 4 cp /root/cgminer.pool2.conf /etc/cgminer.conf && /etc/init.d/cgminer reload

This will overwrite cgminer.conf with the contents of cgminer.pool1.conf on Wednesdays, and the contents of cgminer.pool2.conf on Thursdays at 0:00 (12am).

If you pay attention, The Command Line Interface is easier than a Graphic User Interface, on a magnitude of scale for most tasks. Edit a text file, vs the dreaded registry, or a simple command line vs open window, click here, scroll bar, click tab, go back, unset radio button, next tab, etc...

Of course you can combine both and use the most efficient one for each task.

Just to reiterate, this was exactly what I needed.  I hadn't heard of crontab before, and my initial searches confused me.  This was very clear, and I really appreciate it.  I think I'm all set.  Also, that taught me the /etc/init.d/cgminer reload trick.  I could use that command direct in the shell I think.  Could be useful.

I'm certainly a fan of the CLI/Shell approach.  I have vim pretty well under my fingers, but in general I don't have a whole lot of flight hours on a Linux/Unix terminal compared to many... so again, I appreciate the helpful info. Cool