Re: Unable to run excel via cron

2015-06-16 Thread Bryan Berns
On Tue, Jun 16, 2015 at 9:27 AM, Kertz, Denis (D)** CTR ** wrote: > We need to run some Excel programs via cron and are using vbscript to do > this. We have this running on a WinXP machine but are having trouble running > on a Win7 machine, but we don't think it is a Win7 problem. > > Here's th

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
Unfortunately, using the 64-bit wscript.exe didn't change anything - same behavior as before with excel hanging. We are using 64-bit cygwin and 32-bit Excel (Excel 2007). Denis On Tue, Jun 16, 2015 at 9:27 AM, Kertz, Denis (D)** CTR ** wrote: > We need to run some Excel programs via cron and a

Re: Unable to run excel via cron

2015-06-17 Thread Corinna Vinschen
On Jun 17 13:29, Kertz, Denis (D)** CTR ** wrote: > Unfortunately, using the 64-bit wscript.exe didn't change anything - same > behavior as before with excel hanging. > > We are using 64-bit cygwin and 32-bit Excel (Excel 2007). The problem is probably related to some of the changes between XP a

RE: Unable to run excel via cron

2015-06-17 Thread Kiehl, Horst
(Trying to remove TOFU to make the conversation appear chronological again and with correct attributions.) Kertz, Denis (D)** CTR ** wrote: > > > We need to run some Excel programs via cron and are using vbscript to do > > > this. We have this running on a WinXP machine but are having trouble

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
Yes, I was confused, by the system32, but I still managed to do what was suggested. Previously I was running: c:/Windows/System32/wscript.exe 'c:\cygwin64\home\Upar3\tst.vbs' Then as suggested I ran: c:/Windows/SysWow64/wscript.exe 'c:\cygwin64\home\Upar3\tst.vbs' Both version

RE: Unable to run excel via cron

2015-06-17 Thread Andy Hall
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of > Kiehl, Horst > Sent: Wednesday, June 17, 2015 8:10 AM > To: Kertz, Denis (D)** CTR **; cygwin@cygwin.com > Subject: RE: Unable to run excel via cron > > (Tryin

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
We are running cron under the specific cygwin login (not cyg_server). Presumably there is a solution to this problem.  We have 3 Win7 Pro PCs and this works on one of the PCs (unfortunately, not the one where we need it to work) and fails on the other two PCs. Thanks for the two suggested links

Re: Unable to run excel via cron

2015-06-17 Thread Larry Hall (Cygwin)
On 06/17/2015 12:55 PM, Kertz, Denis (D)** CTR ** wrote: We are running cron under the specific cygwin login (not cyg_server). Presumably there is a solution to this problem. We have 3 Win7 Pro PCs and this works on one of the PCs (unfortunately, not the one where we need it to work) and fails

RE: Unable to run excel via cron

2015-06-18 Thread Kertz, Denis (D)** CTR **
Well, not so lucky anymore. Last night I re-ran my Excel test on the Win7 PC that worked previously and now it doesn't work. So I guess some Win7 patch must have come along and "fixed" something. Denis Larry Hall wrote: On 06/17/2015 12:55 PM, Kertz, Denis (D)** CTR ** wrote: > We are runnin

RE: Unable to run excel via cron

2015-06-23 Thread Kertz, Denis (D)** CTR **
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

Re: Unable to run excel via cron

2015-06-23 Thread Larry Hall (Cygwin)
On 06/23/2015 09:39 AM, Kertz, Denis (D)** CTR ** wrote: 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

RE: Unable to run excel via cron

2015-06-24 Thread Andy Hall
> On 06/23/2015 09:39 AM, Kertz, Denis (D)** CTR ** wrote: > > 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 > > setu

RE: Unable to run excel via cron

2015-06-25 Thread Kertz, Denis (D)** CTR **
I'm not sure but I think Larry was saying the issue was that Excel by its nature is an interactive program and that was the crux of the problem, even though I was running Excel without any interactive input. (And Larry wanted to emphasize this wasn't a cygwin problem per se - it was a problem w