delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/15/23:33:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [203.44.124.9]
X-Originating-Email: [lindenglen AT hotmail DOT com]
From: "Linden Glen" <lindenglen AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Korn Shell from CMD
Date: Wed, 16 Jul 2003 13:33:02 +1000
Mime-Version: 1.0
Message-ID: <Law8-F93N18pFIDEJH20000a37a@hotmail.com>
X-OriginalArrivalTime: 16 Jul 2003 03:33:02.0265 (UTC) FILETIME=[F5F51A90:01C34B4A]

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

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=174&referral=Hotmail_taglines_plain&URL=http://ninemsn.com.au/mobilemania/default.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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019