X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Wed, 21 Jul 2010 16:06:22 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: starting excel from crontab
Message-ID: <20100721140622.GC8324@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20100721091338.77790@gmx.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20100721091338.77790@gmx.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jul 21 11:13, cygwin.20.maillinglist@spamgourmet.com wrote:
> Hi folks,
> 
> I have the problem that I like to start Excel at the end of the workday from crontab. 
> 
> Cron is running under a local system account.
> 
> The problem is that excel is started but does not popup. When I change the check box "Exchange Data with Desktop" I got always the error "*** fatal error - could not load user32, Win32 error 1114" for all cronjobs.
> 
> How can I fix the problem.

See http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview

Does any one of the alternative methods to switch the user context work?
http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd2
http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

