How can I run bitcoind automatically five minutes after restart?
So far I have crontab set up to reboot my computer every morning at 4AM (it runs into issues when it stays on for more than a couple days). I also have tried to use crontab to restart bitcoind on @reboot, but haven't had any success with that.
I am currently using Ubuntu 18.10, and bitcoind v0.18.0.0. Here is my current crontab:
0 4 * * * /sbin/shutdown -r +5 @reboot /usr/bin/bitcoind -daemon -conf=/home/<username>/.bitcoin/bitcoin.conf