Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: dagarair on November 02, 2016, 11:35:03 PM



Title: ubuntu 16 noob question sorry in advance
Post by: dagarair on November 02, 2016, 11:35:03 PM
So i am very new to Ubuntu.  I have it running files in and I am mining.  I even loaded vnc and have it loading automatically on reboot.  Here is what i need to do and just cant figure out how.

How do I auto reboot Ubuntu lets say every 30 min and have it launch the miner again automatically?


I'd like it to launch the terminal so it can be seen and go to the directory and launch the miner.

Thanks in advance and sorry for the stupid question.


Title: Re: ubuntu 16 noob question sorry in advance
Post by: Kasmetski on November 03, 2016, 01:01:22 PM
For auto-restart you could use cronjob.
Type
Code:
sudo crontab -e
and write this
Code:
0,30 * * * * reboot
.

For the auto-start miner you can use the GUI. Just search for "Startup programs" or something similar (I'm using Fedora and I've forgot some things about Ubuntu).