Post
Topic
Board Mining (Altcoins)
Re: Open Source ZEC (ZCash) GPU Miner AMD & NVidia (up to 45 sol/s on RX480)
by
disodium
on 29/10/2016, 22:47:55 UTC
How can I restart zcashgpuclient once in a while in Ubuntu? I freezes every now and then but when I restart it, it's fine. I want to automate this procedure.

I've written a bash script like this

Code:
#!/bin/bash
cd /home/user/zcashclient-0.2.2
while [ 1 ];
do
 gnome-terminal -e "./zcashgpuclient_silentarmy"
 sleep 600
 killall "zcashgpuclient_silentarmy"
done

But the problem is that the killall command dosen't work for me. It actually kills the process if I execute it manually in another terminal window but it does nothing if it is run from the script.

Any Linux savvy guys to shed some light?