This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Download this script to your computer and upload it to your hotspot using scp | |
# scp /Path/to/refresh-blockchain.sh hotspot_ssh_address:/home/pi | |
# | |
# SSH into hotspot, and edit your crontab (sudo crontab -e) and add this: | |
# 0 8 * * * /home/pi/refresh-blockchain.sh >> /home/pi/refresh-blockchain.log 2>&1 | |
DATA_PATH=/home/pi/miner_data | |
DATA_BACKUP_PATH=/home/pi/miner_data_bak |
OlderNewer