Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: xenon5 on September 04, 2011, 08:42:02 PM



Title: Script to kill guiminer every hour, then restart it? [Linuxcoin]
Post by: xenon5 on September 04, 2011, 08:42:02 PM
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.