JK-Rolling / DuinoCoinI2C_RPI

This project design to mine Duino-Coin using Raspberry Pi or equivalent SBC as a master and Arduino/ATTiny as a slave.
39 stars 15 forks source link

Auto-start AVR_Miner_RPI.py #21

Closed rtbon closed 2 years ago

rtbon commented 2 years ago

Hi, I would like to automate the mining on pi startup. I've edit the crontab with a new line : @reboot screen -dm bash -c "cd ~/DuinoCoinI2C_RPI; python3 ./AVR_Miner_RPI.py"

… But nothing happen on reboot.

An other problem, from ssh on my Mac I can't detach from the screen session while pressing ctrl + a and then d

Can you help me ? Thank you !

JK-Rolling commented 2 years ago

what do you see when running this command manually? cd ~/DuinoCoinI2C_RPI; python3 ./AVR_Miner_RPI.py

JK-Rolling commented 2 years ago

also found this "using screen on mac os". it maybe helpful http://www.kinnetica.com/2011/05/29/using-screen-on-mac-os-x/#:~:text=Detaching%20and%20Reattaching%20Your%20Screen%20Session&text=Type%20Ctrl%2Da%20d%20to%20detach%20from%20your%20screen%20session.

JK-Rolling commented 2 years ago

closing