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 | |
#$HOME/chia-blockchain/venv/bin/chia start farmer && echo $(date "+%Y-%m-%d %H:%M:%S %Z"): [ chia start farmer ] starting farmer | |
#start chia farmer | |
cd $HOME/chia-blockchain/ && . ./activate && chia start farmer && echo $(date "+%Y-%m-%d %H:%M:%S %Z"): [ chia start farmer ] starting farmer | |
#not needed, leaving here anyway | |
swapoff -a && sleep 5s && swapon -a && echo $(date "+%Y-%m-%d %H:%M:%S %Z"): Swap cleared! | |
#delete .tmp files from ssd's |