 |
 |
App Auto Restart
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status:
Offline
|
|
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
|
|
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.
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status:
Offline
|
|
OHH.. C.J. AWSOME! THANKS
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status:
Offline
|
|
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.
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status:
Offline
|
|
Its actully Entourage that is crashing when it gets mail off the server.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status:
Offline
|
|
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.
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status:
Offline
|
|
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
|
|
No- I meant to reference Entourage instead of Mail in the script. 
|
|
OS X: Where software installation doesn't require wizards with shields.
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status:
Offline
|
|
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!
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |