The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Executing Windows batch file from UNIX flip387 Shell Programming and Scripting 5 10-24-2008 11:57 AM
windows scripting for a batch job MizzGail Windows & DOS: Issues & Discussions 2 03-30-2007 06:42 PM
how to convert unix .ksh script to windows .batch script 2.5lt V8 Shell Programming and Scripting 1 11-28-2006 12:52 PM
How can I run scripts in my unix account from batch file in Windows? olgafb UNIX for Dummies Questions & Answers 7 05-27-2006 09:40 AM
Windows Services for UNIX eugrus Windows & DOS: Issues & Discussions 5 02-22-2005 07:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-05-2008
rbdenham rbdenham is offline
Registered User
  
 

Join Date: May 2008
Location: Houston, TX
Posts: 7
Windows services for unix - How do I run in batch

I just installed Windows Services for Unix. I want to create a ksh program and schedule it using the Windows scheduler. How would I go about doing it?

What would the command line look like?

Do I always have to be in a ksh shell to run the batch program even if it is not scheduled?

What if anything would I have to add the the Unix ksh script?

Do I have to setup anything special as far as the Windows Enviroment variables?

Thanks,
Rich
  #2 (permalink)  
Old 06-05-2008
fabtagon fabtagon is offline
Registered User
  
 

Join Date: Apr 2008
Location: European Union/Germany
Posts: 189
Windows does not actually execute 'the script'. Files ending on .ksh are only declared to be opened with ksh which has the same effect, but will hurt you in case you don't mind about that and try scheduled execution.

Add 'ksh c:\where\my\program\is.ksh' to scheduled execution instead of the script itsself (as its not executable by itsself).
  #3 (permalink)  
Old 06-05-2008
rbdenham rbdenham is offline
Registered User
  
 

Join Date: May 2008
Location: Houston, TX
Posts: 7
I will give that a try
  #4 (permalink)  
Old 06-05-2008
rbdenham rbdenham is offline
Registered User
  
 

Join Date: May 2008
Location: Houston, TX
Posts: 7
That worked!! Thank you!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0