Bitcoin Forum
December 03, 2016, 11:56:24 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Script to kill guiminer every hour, then restart it? [Linuxcoin]  (Read 706 times)
xenon5
Newbie
*
Offline Offline

Activity: 9


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!