Re: Can't Run Excel From A Cron Job Under Windows 7

2015-01-12 Thread Kertz, Denis (D)** CTR **
Andrey Repin [mailto:anrdae...@yandex.ru] Sent: Sunday, December 21, 2014 6:03 PM To: Kertz, Denis (D)** CTR **; cygwin@cygwin.com Subject: [SPAM?] Re: Can't Run Excel From A Cron Job Under Windows 7 Greetings, Kertz, Denis (D)** CTR **! > I am trying to port a cygwin application that uses

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-12-21 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! > I am trying to port a cygwin application that uses cron from a WinXP PC to > a Win7 Pro PC and I find some cron jobs won't run. Specifically, I need to > run an Excel program from a cron job and this doesn't work on my Win7 PC. For posterity: Turned out, t

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-19 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! Try starting cron in terminal session and see if anything comes up. >> >> Stop (don't kill! Everyone, who use -KILL, must be -KILL'ed) the cron >> service, >> then start cron in terminal, using `runas /user:... ...'. So it would run >> under proper user,

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-18 Thread Warren Young
On Nov 12, 2014, at 9:20 AM, Kertz, Denis (D)** CTR ** wrote: >> More like you expect to run Excel interactively from service. >> Not possible. Period. > > I'm not trying to run Excel interactively from a cron job. One of the > limitations with using Excel from a cron job is Excel has to run

RE: Can't Run Excel From A Cron Job Under Windows 7

2014-11-17 Thread Kertz, Denis (D)** CTR **
>>> Try starting cron in terminal session and see if anything comes up. > > Stop (don't kill! Everyone, who use -KILL, must be -KILL'ed) the cron service, > then start cron in terminal, using `runas /user:... ...'. So it would run > under proper user, and see if anything come up, when it execute yo

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-13 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! >>> What I mean by runs fine is that when I type this command at a bash prompt: >>> run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' >>> it runs to completion and creates a new .xls as its output. When I run >>> this run.excel script from a cron

RE: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Kertz, Denis (D)** CTR **
>> What I mean by runs fine is that when I type this command at a bash prompt: >> run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' >> it runs to completion and creates a new .xls as its output. When I run >> this run.excel script from a cron job it hangs. > > Hangs as in - do not crea

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Keith Christian
Denis, If Excel is starting a macro in the worksheet, it might be worth adding some logging to the visual basic code. Perhaps try this in your Excel macro code if that is where the processing is taking place: '--- Set up variables near the top of your macro. '--- (Check whether you want the

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! >>> An excel program is run like this: >> >>> run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' >> >>> When I run an Excel program interactively with this run.excel script it >>> runs just fine but when I run it via a cron job Excel just hangs. >>

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Kertz, Denis (D)** CTR **
>> An excel program is run like this: > >> run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' > >> When I run an Excel program interactively with this run.excel script it >> runs just fine but when I run it via a cron job Excel just hangs. > > Define "runs fine" please? > What exactly th

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-11 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! > I am trying to port a cygwin application that uses cron from a WinXP PC to > a Win7 Pro PC and I find some cron jobs won't run. Specifically, I need to > run an Excel program from a cron job and this doesn't work on my Win7 PC. > In order to run an Excel p