• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Checking for App running and restart if not
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Checking for App running and restart if not
      • From: Gary Lists <email@hidden>
    • Re: Checking for App running and restart if not
      • From: Michael Grant <email@hidden>
  • Prev by Date: Re: How to Read from Text File?
  • Next by Date: Re: Error Number: -10006 H-E-L-L-L-P!
  • Previous by thread: Re: [OT] Vote for Apple's "1984" as best Super Bowl commercial
  • Next by thread: Re: Checking for App running and restart if not
  • Index(es):
    • Date
    • Thread