Mail Archives: cygwin/2004/05/17/09:36:07
On Mon, 17 May 2004, Baurjan Ismagulov wrote:
> Hello, Igor!
>
> I've also tried your "at" suggestion, but couldn't get it to work:
>
> C:\> at 13:24 /interactive g:\cygwin\bin\bash -i
> Added a new job with job ID = 1
>
> C:\> at 1
>
> Task ID: 1
> Status: OK
> Schedule: Today
> Time of day: 13:24 PM
> Interactive: Yes
> Command: g:\cygwin\bin\bash -il
>
> C:\> at 1
>
> Task ID: 1
> Status: Error
> Schedule: Tomorrow
> Time of day: 13:24 PM
> Interactive: Yes
> Command: g:\cygwin\bin\bash -ihy
>
> C:\> at 1
>
> Task ID: 1
> Status: Error
> Schedule: Tomorrow
> Time of day: 13:24 PM
> Interactive: Yes
> Command: g:\cygwin\bin\bash -i???6 \x01\x0c????????
>
> I've tried adding g:\cygwin\bin to PATH, but this didn't help. I also
> don't like the changing command line (this is Windows XP Professional
> Version 2002 (what is this?) Service Pack 1; ver shows 5.1.2600). Any
> ideas?
>
> With kind regards,
> Baurjan.
Wow! Yes, this does indeed look suspicious. Since I only have Win2k to
play with, can someone with WinXPPro verify this behavior? Hopefully it's
a local configuration thing...
A WAG: "at" runs as LocalSystem (a.k.a. SYSTEM). Does g:\cygwin\bin\bash
have execute permissions for everyone? Also, try making the executable
name "g:\cygwin\bin\bash.exe" instead.
Igor
P.S. This isn't really Cygwin-specific, but since getting a system-owned
shell is useful for detecting all kinds of service problems, I think this
may be still on-topic.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -