mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2003-06-16, 11:25   #12
Matthes
 
Matthes's Avatar
 
May 2003

1816 Posts
Default

WinXP has a little app called tasklist.exe which will display all the task. I think you could write a batch file that runs this once in a while and checks whether it is running and then use net start to start it once it doesnt. This batch file could i.e. be run hourly using the taskscheduler. Now I dont know how to implement this exactly, under linux it would be quite easy but Windows doesnt have a grep command ...

Regards, Matthes

EDIT:

Use this command and check in the batchfile whether it produces the right output - tasklist /FI "IMAGENAME eq Prime95.exe"
Matthes is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Could a test stop earlier than expected? Surge Software 3 2010-09-19 07:14
Would Minimizing "iterations between results file" may reveal "is not prime" earlier? nitai1999 Software 7 2004-08-26 18:12

All times are UTC. The time now is 16:35.


Sun Aug 1 16:35:41 UTC 2021 up 9 days, 11:04, 0 users, load averages: 1.51, 1.40, 1.57

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.