![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Windows & DOS: Issues & Discussions Questions involving Unix to Windows (Desktop or Server) go here. Any Windows/DOS questions should go here as well. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Executing Windows batch file from UNIX | flip387 | Shell Programming and Scripting | 5 | 4 Weeks Ago 08:57 AM |
| windows scripting for a batch job | MizzGail | Windows & DOS: Issues & Discussions | 2 | 03-30-2007 03:42 PM |
| how to convert unix .ksh script to windows .batch script | 2.5lt V8 | Shell Programming and Scripting | 1 | 11-28-2006 09:52 AM |
| How can I run scripts in my unix account from batch file in Windows? | olgafb | UNIX for Dummies Questions & Answers | 7 | 05-27-2006 06:40 AM |
| Windows Services for UNIX | eugrus | Windows & DOS: Issues & Discussions | 5 | 02-22-2005 04:52 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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
|
|||
|
|||
|
I will give that a try
|
|
#4
|
|||
|
|||
|
That worked!! Thank you!
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|