Quote Originally Posted by Maxwell View Post
I'm going to defer to the people who know the first thing about programming to see if y'all can answer my question...

Can I set up a script to kill a Moo WU if it runs longer than 12 minutes?

With my dual 5970 set up, the Moo WUs comlete in less than 10 minutes if they finish. If I run into an error (which happens once or twice a day, and, frustratingly, almost always right after I go to bed), the WU will run forever without finishing until I kill it.

Can I set something up to auto-abort a the WU if it runs longer than a set time? This is on Win7x64, 11.5 driver, BOINC 6.10.58.

I, of course, don't know the first thing about how to do this...
I have a solution. Don't go to bed.

I could write a script to do that in Linux, but wouldn't know the commands to do something similar in Windows.

If you go to a command prompt (DOS) and type
Code:
boinccmd.exe --get_tasks
it will give you a list of all the tasks along with their active state, CPU time, %complete, estimated time to completion and other things. You may have to measure it by CPU time, though. I don't know where the run time is kept, maybe in one of the xml files.