![]() |
|
|
#12 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
11101011001102 Posts |
Quote:
Code:
if (( $(date +%s) > $(stat -c %Y -- /home/george/gpuowl1/gpuowl.log) + 3600 ||
$(date +%s) > $(stat -c %Y -- /home/george/gpuowl2/gpuowl.log) + 3600 ||
$(date +%s) > $(stat -c %Y -- /home/george/gpuowl3/gpuowl.log) + 3600));
then
killall gpuowl;
sleep 30
# /root/gpu-settings
# /root/gpu-settings1
# /root/gpu-settings2
screen -S owl1 /home/george/gpuowl1/gpuowl -dir /home/george/gpuowl1
screen -S owl2 /home/george/gpuowl2/gpuowl -dir /home/george/gpuowl2
screen -S owl3 /home/george/gpuowl3/gpuowl -dir /home/george/gpuowl3
fi;
Last fiddled with by Prime95 on 2020-01-03 at 20:46 |
|
|
|
|
|
|
#13 | |
|
Sep 2002
Database er0rr
3,739 Posts |
Quote:
Code:
echo "password" | sudo -S /root/gpu-settings |
|
|
|
|
|
|
#14 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
2×53×71 Posts |
Quote:
I was unable to get root crontab to work with "@reboot". However, you are correct that this would be handled by root's crontab since it is not a @reboot item. Thanks for the help. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| gpuOWL for Wagstaff | GP2 | GpuOwl | 22 | 2020-06-13 16:57 |
| gpuowl tuning | M344587487 | GpuOwl | 14 | 2018-12-29 08:11 |
| Possibly stupid question about porting games to Linux. | jasong | Linux | 4 | 2006-12-23 21:24 |
| a simple question on the Linux client | nngs | Software | 1 | 2005-11-27 01:39 |
| linux question ( newb) | crash893 | Software | 2 | 2003-12-26 18:50 |