Hey guys,
I've been running the folding at home application for sometime. (
Folding@home - Main) If you aren't familiar, it is the largest distributed computer network out there and was set up to simulate protein folding and misfolding. The results could help understand and cure things like cancer, alzheimers, parkinsons ect.
Anyway, what I want to do is start the program when my computer goes idle. It uses unused process cycles and I have never noticed any sort of strain on my system, but I want to add another process that will only start when I am not at my pc. This is easy enough to setup with schedule tasks, but shutting it down is a bit harder.
There are actually 3 processes being used. Folding at home comes with 2 processes. The first is a .exe file that is used to start the core and will also display information about it. I usually call this FAH.exe. The second is another .exe and is responsible for actually doing the work. The name of this can vary. When the FAH.exe process is ended, the core will also end. The third process is the one that I am actually starting. It is a .bat file that runs wscript pointed at invisible.vbs to launch FAH.exe without displaying the screen. Once FAH.exe has been launched, start.bat ends.
Now I have already created another .bat file named End.bat which contains a taskkill command to end the FAH.exe process which will in turn will also end the core. But how can I set it up so that this runs automatically when the computer is no longer idle?
Why not just stick this on my desktop and run it everytime I sit down? For myself, that wouldn't be such a big deal. But I am trying to do this for a friend who has agreed to participate but doesn't really know much and I want it to be convenient or he might just say to hell with it.
EDIT: I'm team 201768 if you want to join in and try it out.