Time limiter for command line programs

  • Thread starter Thread starter My Deja
  • Start date Start date
M

My Deja

Is there a way of limiting the execution time for a command line
program, as well as any additional resources?

There is a command in Unix named ulimit and I want to know whether
Windows has something similar or whether it is built in the CMD.EXE
already.

Regards

My
 
"My Deja" said in news:[email protected]:
Is there a way of limiting the execution time for a command line
program, as well as any additional resources?

There is a command in Unix named ulimit and I want to know whether
Windows has something similar or whether it is built in the CMD.EXE
already.

Regards

My

Don't myself know of one. You could define an event in Task Scheduler
with the property of stopping the job if it doesn't complete in N hours
and/or minutes. You could then schedule it or manually run it now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top