Computing.Net > Forums > Programming > Run windows batch job from unix box

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Run windows batch job from unix box

Reply to Message Icon

Name: westwood01
Date: December 7, 2004 at 05:57:40 Pacific
OS: aix/NT
CPU/Ram: 2 Ghz
Comment:

Aside from Expect and ANT, what is the best way to automate/schedule a batch job to run on a windows box from an AIX box? Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: westwood01
Date: December 7, 2004 at 07:57:30 Pacific
Reply:

I have this, but cannot get the script to enter a return after the username:

#!/bin/sh
(sleep 2
echo username
sleep 2
echo password
sleep 2
echo logout ) | telnet 172.xx.xx.xx


0
Reply to Message Icon

Related Posts

See More


exe creator SQL Question



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Run windows batch job from unix box

how to call a batch file from html www.computing.net/answers/programming/how-to-call-a-batch-file-from-html/1539.html

running a shell script from c++ www.computing.net/answers/programming/running-a-shell-script-from-c/8900.html

Scheduling a batch job www.computing.net/answers/programming/scheduling-a-batch-job/20033.html