• Post Reply Bookmark Topic Watch Topic
  • New Topic

task manager  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day,

I would like to know if there is a way to track applications running on the task manager. I would like to restart a java app everytime it exits.

Thank You,
Pratish
 
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

Why not just start the application from inside a loop in a batch file. Of course, you'll soon find out that restarting an application as soon as it fails is usually not a good idea.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simply write the appropiate event handler when the application exits. Writing anything with the Windows Task Manager would render your application platform-dependant.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!