Post
Topic
Board Mining (Altcoins)
Re: [ANN] FutureBit Moonlander 2: The Most Powerful and Efficient USB Stick Miner!
by
PsychoShaft
on 15/11/2018, 11:44:58 UTC
i looked into the crashing, it has nothing to do with Power. both my hubs can provide enough power, i have stress tested it with plugging 3 Moonlanders 2s into 1 Hub, this ran fine without any speed drop. I now have 2 Hubs running 2 moonlanders each.

i wanted to know if anyone has managed to write a Crontab script that restarts the SH file every 1 or 2 hours? if so how did you do it! any help would be great.

https://www.cdn-images.co.uk/pauls-pc-mod-pictures-for-overclockers/myrpisetup.jpg

Regards

Paul

You might want to look into timeout, it should do what you are looking for. Basically run your script in a construct like this:

Code:
while true; do timeout 7200 /path/to/your/script-executable; sleep 3; done

HTH

while true; do timeout 7200 /home/pi/miner/bfgminer_5.4.2-futurebit2_linux_armv6/start_moonlander2.sh; sleep 3; done

Timeout: failed To run Command '/home/pi/miner/bfgminer_5.4.2-futurebit2_linux_armv6/start_moonlander2.sh': No Such File or Directory?

Please help!!