Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <F9168C1F974ED611A56900508B63C6D501C4E4CB@usarx003.arl.us.int.atosorigin.com>
From: "Bowden, Todd" <todd.bowden@atosorigin.com>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Cc: "'Linden Glen'" <lindenglen@hotmail.com>
Subject: RE: Korn Shell from CMD
Date: Wed, 16 Jul 2003 08:03:47 -0400
MIME-Version: 1.0
Content-Type: text/plain
X-OriginalArrivalTime: 16 Jul 2003 12:03:47.0421 (UTC) FILETIME=[4FE4D0D0:01C34B92]
Note-from-DJ: This may be spam

Why not install cron and run it out of there.  I have it setup and its
working flawlessly.

Todd C. Bowden 
E-mail: Todd.Bowden@atosorigin.com


-----Original Message-----
From: Linden Glen [mailto:lindenglen@hotmail.com] 
Sent: Tuesday, July 15, 2003 10:33 PM
To: cygwin@cygwin.com
Subject: Korn Shell from CMD


Hi all,
I've brought a script across from AIX, it's written in Korn. I've made some 
changes, and have been testing it via cygwin. What I've been doing is 
opening cygwin, and changing to the scripts directory, and running it from 
there. ie....
cd /dir/script.sh
./script.sh
That was all fine, and it runs perfectly like that - however, now I need to 
make the script run automatically - and would like to do this via NT 
Scheduler. My issue is however, that when I try to create the batch file to 
run it as per suggestion from previous posts, it doesn't work.... I get all 
kinds of errors with the script, like the `date` command not working. The 
first line of the script is : #!/bin/ksh could this cause the issue I'm 
seeing?
Any help will be very much appreciated.
Cheers,
Linden

_________________________________________________________________
Hotmail is now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/signup.asp


--
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/

--
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/

