Can't Run Excel From A Cron Job Under Windows 7
Wed Nov 19 13:50:00 GMT 2014
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, and see if anything come up, when it execute your excel
> I was unable to find how to use runas from a terminal.
runas supply a plentiful help page when started without any parameters.
Your problem is probably that you assume the mintty to be the way to go, or
sort of a requirement, which it isn't.
runas is a windows tool to start applications under different credentials. And
as any native tool, it has no concept of pty's, and unlikely to output
anything to the mintty.
You can overcome this with redirection to an extent, i.e.
runas | iconv -f <OEM_encoding>
> I can simply type runas and it does nothing and I can't find --help or
> /help. I did find a suggestion to use cygstart
cygstart is a cygwin analogue for START command. Not the tool for the job.
Andrey Repin (email@example.com) 19.11.2014, <16:19>
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin