X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=W0z T2NsVl0ywUVZLdAhQpKW8F5CDAhlaCzAxNB5niNNxYSOwxZcEzzSXXIZushndS2H EthnwVto955FUeAUaoRZZF1Qt9/Wsz0qvStuMt6+jOI6kG7UL5KyXkpjQiKFZnqW fFYmNL/v3W1INk5mH7J1g/kBB+y16HNGI5u42MZ8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=8IFg7nI6v vpyHDB/sKD6ta9rzf4=; b=ospqXddc5tT8EXvr8mL4OwUeOb26lEPdPyHA5ZDi1 n6PW+woYbKJZe3/AkdvdkK9fYTId7STQ1SP7xjK6T+rOhboWZgeBvyHdgywNYRrO qEU+osnf9aieefCbwmH37JIONlz0gEbNMvXXPvSDKCB4JVKniwuKeA1/7gFMhRTp Ao= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=AWL,BAYES_50,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: smtp-fr.alcatel-lucent.com From: "Kertz, Denis (D)** CTR **" To: "cygwin AT cygwin DOT com" Subject: RE: Unable to run excel via cron Date: Tue, 23 Jun 2015 13:39:15 +0000 Message-ID: <883F2CBBC85A62419E181EB2F0ECF21F45DE4DA5@US70UWXCHMBA04.zam.alcatel-lucent.com> x-cr-puzzleid: {9FD13327-A5AC-4473-8135-3CF4961C8F90} x-cr-hashedpuzzle: BSzX C6rx Deyt FIrN FZMG FvGr GA5l GGDA GL2f HoSe Ib+7 IrR3 I9Lx JWes Je3s KCGN;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{9FD13327-A5AC-4473-8135-3CF4961C8F90};ZAAuAGsAZQByAHQAegBAAGEAbABjAGEAdABlAGwALQBsAHUAYwBlAG4AdAAuAGMAbwBtAA==;Tue, 23 Jun 2015 13:39:12 GMT;UgBFADoAIABVAG4AYQBiAGwAZQAgAHQAbwAgAHIAdQBuACAAZQB4AGMAZQBsACAAdgBpAGEAIABjAHIAbwBuAA== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t5NDdZPo005058 I changed the cron setup to use cygserver as Corinna suggested. I used cron-config and cygserver-config to setup the cron and cygserver services and passwd -R to establish my password. Normal cron jobs run under this setup but Excel still hangs as it did before. I also tried this on the Win7 PC that I thought worked at one time but it behaved the same with Excel hanging. So it looks like Corinna's first case is the situation - there is no solution. There apparently is something unique about Excel that will not run in this Win7 cron environment. Denis --------------------------------------------------------------------------------------------------- Corinna Write: Two possible solutions come to mind: - Either there is no solution. The reason might be that Excel is expecting a GUI it can't connect to. - Or it's about the user token after switching the user context. I assume you're running Excel from cron as some other user account than cyg_server. Please read https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview and try https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3 Corinna -- 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