Hi All,
I need to call a unix script from windows bat file, please help if that can be done.
I cant install cygwin or putty or any other ssh on server.....!
do we have anything else?
Hi All,
I need to call a unix script from windows bat file, please help if that can be done.
I cant install cygwin or putty or any other ssh on server.....!
do we have anything else?
nope!
if you need to run a script... you need access. the only other way might be telnet (telnet client is integrated in windows). but note, telnet is not safe because it is not encrypted.
Thanks Duke.
I am trying that out...
if any prob will revert back to bug again......!
will reply back whether success or failure.....
---------- Post updated at 03:10 PM ---------- Previous update was at 02:25 PM ----------
Its not working
i want to automate a process but not finding any way to login and run script automatically...!
want to schedule a job so no user i/p is needed......!
Please help.........
if you want to schedule the job, use "cron" from the unix machine. without addon software (ssh; expect) on windows side you won't be able to do what you want...
cant do that as job run time depends on completion of a job which runs on windows.....
so i was trying to add a cal to batch file which needs to be run in windows manually.........!
this batch file on being called should in turn run a script in unix.....!
no way to do that.......
If you want to run the script from windows to unix & make it as automative...! Try the below options..
If ssh is installed on windows server , then exchange the appl id key to
unix box in corresponding ID's Homepath file $APPID/.ssh/authorized_keys.
Then run the ssh id@unixbox "sh scriptname".
but i don have any ssh installed.....!
What does this sentence mean?
hey it meant that i cant add job to crontab as it is dependent on a window job......!
so cal has to be from windows....!