Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > App Auto Restart

App Auto Restart
Thread Tools
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status: Offline
Reply With Quote
Sep 2, 2004, 09:49 AM
 
Does any one know of an application that will automaticaly restart a program that has crashed? EG: my Mail app crashes every so often and i want it to automaticaly restart after a crash.

So an app that watches for programs that are NOT running and then starts them....
     
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status: Offline
Reply With Quote
Sep 2, 2004, 12:19 PM
 
Applescript can handle this kind of thing. Here- I'm feeling helpful today:
Code:
tell application "System Events" to if (exists process "Mail") is false then tell application "Mail" activate end tell end if
Save this as a Script. Run the script every 5 minutes- either by manually editing crontab, or using an editor like Cronnix.
OS X: Where software installation doesn't require wizards with shields.
     
gautch  (op)
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status: Offline
Reply With Quote
Sep 2, 2004, 01:18 PM
 
OHH.. C.J. AWSOME! THANKS
     
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status: Offline
Reply With Quote
Sep 2, 2004, 03:28 PM
 
Yer' welcome.

But ya know, it's not common for mail to crash.... you should really be looking into solving the problem of why that's happening. Start with rebuliding the databases.
OS X: Where software installation doesn't require wizards with shields.
     
gautch  (op)
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status: Offline
Reply With Quote
Sep 2, 2004, 04:11 PM
 
Its actully Entourage that is crashing when it gets mail off the server.
     
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status: Offline
Reply With Quote
Sep 2, 2004, 05:06 PM
 
Ah. Guess you'll want to swap in Entourage for Mail in that case.
OS X: Where software installation doesn't require wizards with shields.
     
gautch  (op)
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status: Offline
Reply With Quote
Sep 2, 2004, 05:12 PM
 
I would but its a Work computer.. so im stuck with what they want us to use.
     
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status: Offline
Reply With Quote
Sep 2, 2004, 10:58 PM
 
No- I meant to reference Entourage instead of Mail in the script.
OS X: Where software installation doesn't require wizards with shields.
     
gautch  (op)
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status: Offline
Reply With Quote
Sep 3, 2004, 10:10 AM
 
Oh eyh i got yah.

Well it works great. But when it crashes, it quicker for me to just click on the icon to restart it.. oh well thanks for your help!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2