delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/27/09:24:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_50,FAKE_REPLY_C,RCVD_IN_DNSWL_NONE,SARE_TO_EMPTY,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Tue, 27 Jul 2010 15:24:18 +0200
From: cygwin DOT 20 DOT maillinglist AT spamgourmet DOT com
Message-ID: <20100727132418.128510@gmx.net>
MIME-Version: 1.0
Subject: Re: starting excel from crontab
To: "cygwin AT cygwin DOT com" <>
X-Spamgourmet:
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-------- Original-Nachricht --------
> Datum: Wed, 21 Jul 2010 16:06:22 +0200
> Von: "Corinna Vinschen - corinna-cygwin AT cygwin DOT com" <+cygwin+maillinglist+27352a5def.corinna-cygwin#cygwin DOT com AT spamgourmet DOT com>
> An: cygwin AT cygwin DOT com
> Betreff: Re: starting excel from crontab

> On Jul 21 11:13, cygwin DOT 20 DOT maillinglist AT spamgourmet DOT 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

Sorry I read this already, but I'm not sure that I understood it correct. As far as I understood it this means.

1. Method would be installation cron as privileged account and do nothing else?
2. Method would be installation with telling using cyglsa packages and do nothing else?
3. Method same as method 1 but making passwd -R after setting up cron?

Setup of the cron I did with admin rights.

If I'm wrong please tell me.

> 
> Does any one of the alternative methods to switch the user context work?
I changed the setup of cron that a privileged account should run the cron but I got the same error on any cron entry.

> http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd2
I think I used this already because on initial setup I told the cron-config that I using the cyglsa package.

> http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3
when I use passwd -R as normal user I got the error.
Storing password failed: Function not implemented
As Admin the is no error.

Here the cron entries are running. I change the option at the service but still no excel comming up.


I tried all but still no excel running in foreground.




-- 
IMPORTANT
I will read replies only from the mailing list. 
If you send me email directly it will be deleted.


GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019