Re: incomprehensible message on failed cron applescript
Re: incomprehensible message on failed cron applescript
- Subject: Re: incomprehensible message on failed cron applescript
- From: Andrew Oliver <email@hidden>
- Date: Tue, 01 Mar 2005 14:13:12 -0800
On 3/1/05 1:49 PM, "Charles Arthur, UKClimbing Editor"
<email@hidden> wrote:
> Hi..
>
> I've got a cron job which should (sometimes does, but I don't know why it
> does when it does) run a script that moves various messages in Eudora.
>
> For reasons I also don't quite understand, it sends an email (via my
> Postfix on the machine) after it has run, or tried to run.
>
> When it fails, it says "INIT_Processeses(), could not establish the default
> connection to the WindowServer."
This message would occur when you try to interact with the UI but no user is
logged in, or a different user is logged in.
Are you logged in at the time your script runs?
The other solution is to run as root since root can bind to the WindowServer
even if 'owned' by another user.
Andrew
:)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden