Checking for App running and restart if not
Checking for App running and restart if not
- Subject: Checking for App running and restart if not
- From: Dan Doughtie <email@hidden>
- Date: Thu, 22 Jan 2004 18:55:32 -0500
I've got a critical app running under 10.2.6 Server (on an Xserve) that has
a nasty habit of crashing when I manage to get a day away from the office.
Never habits when I'm at the office. I need some kind of timed approach that
can check every 5 minutes to see if the app is running and if not then
relaunch. I think a cron approach is best and have it run an Applescript.
Would I be incorrect just to say
Tell App Transporter
activate
end tell
If it is already running it should just make it come forward and if it not
running should launch it. Any hazards from doing this from the cron? IS
there any Applescript command to clear the OK APP HAS CRASHED DIALOG? I'm
waiting for a crash so I can see if the error message will clear itself if
the app is relaunched.
Thanks to anyone who can supply some guidance.
--
Dan Doughtie
Augusta, GA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.