On 6/9/06, Bryan R Harris <[EMAIL PROTECTED]> wrote:

>>>> I still have concerns about this.  My wife and I both use Entourage in our
>>>> respective "sides" (fast-user switching), and backing up still makes me
>>>> nervous.  Although I can quit the daemons on my side, apparently I can't
>>>> quit them on her side automatically before the backup runs, so I have to go
>>>> over and quit them manually.
>>>
>>> You most certainly can, you just have to authenticate as an administrator
>>> first.
>>
>> Pray tell, how?  I know about "sudo killall", but I've gotten the impression
>> that that's much rougher on the app than "tell app ... to quit" in
>> AppleScript.  (Although no one's been able to confirm nor deny that...)
>
> (NOTE: UNTESTED... test for yourself, at your own risk, after making a
> backup... should be harmless, but I'm not taking any repsonsibility
> for your data... that said, I'd do this myself if I were trying to do
> the same thing)
>
> sudo kill -QUIT `ps auxwwww|fgrep 'Microsoft Office 2004'|awk '{print $2}'`
>
> should cause all related Office programs to quit

This doesn't address my concern as stated above.  I'm worried about forcibly
killing the Entourage process, not giving it a chance to clean up
gracefully.  The osascript option does, but apparently it can't be used on
another user's processes.

kill -QUIT does give it a chance to clean up gracefully.

kill -9 would not

That's why I suggested kill -QUIT


Back to the problem above, I can't figure out any way to automatically quit
my wife's Entourage.

kill -QUIT

And what about the alerts?  What if an alert pops up during the back up?
Does that not write anything to the database?  Seems like it would have to,
to keep track of what it had alerted you to...

I wouldn't think it would write anything unless you chose SNOOZE or
DISMISS.  The next time the daemon runs it will say "Ok what alerts do
I need to put up?"
--
To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to