Bitcoin Forum
November 14, 2024, 09:53:35 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Script to kill guiminer every hour, then restart it? [Linuxcoin]  (Read 891 times)
xenon5 (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
September 04, 2011, 08:42:02 PM
 #1

Hi, I'm trying to create a script that will automatically kill guiminer once an hour, then restart it.  When I was at home with my rig, everything worked perfectly.  Now that I've moved to my dorm,  it just stops mining after running for a few hours.  When I check the console, there's no unusual events like failures.  I figure the easiest way to solve the issue is to make the program restart once an hour.

How do I get the pid of guiminer?  when I try using the getpid command, it says "command not found".  Also, what will the process name be for guiminer?  just "guiminer"?  I need to get the pid so I can run the kill command.

Thanks  for any help.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!