Click here to Skip to main content
15,669,294 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Please help anyone how to connect to unix server and run the job in command prompt.

ex: cron jobs

functionality is , when i run a specific job in unix server then few files will move from one location to another location and then i can see data updates in my application.

Requirements: basically we are using QTP tool to test our application ,in order to run a specific job(based on the functionality) i wanted to connect to the unix server and find the job and run it.

any solution is fine for me but i can not use any 3rd party tool. using vbscript i want to do this in command prompt or FTP connection(i hope FTP doesn't help in my scenario)

Is it possible without using using Xming, PuTTY and WinSCP ?

please assist me to get quick solution.

it can be appreciable you solution.

Best friend
Updated 29-Sep-21 20:13pm
Richard MacCutchan 31-Oct-14 5:29am    
You will have to use PuTTY or something similar in order to connect to the remote system.
rnvc 3-Nov-14 4:13am    
Can you please share the vbscript code to connect and search for the job?
Richard MacCutchan 3-Nov-14 4:19am    
Sorry, but that is your job; this site does not provide code to order. You may like to look at
rnvc 4-Nov-14 4:03am    
If any one facing same problem please use below code,i will be ready to help if i know .
Set WShell = CreateObject( "WScript.Shell" )
Set oSession =WShell .exec( puttyPATH & " " & sHost & " -l " & sUser & " -pw " & sPasswd)
Member 15376580 30-Sep-21 2:15am    
Thanks the below code does connect to server machine, but how do we run commands here?

Set WShell = CreateObject( "WScript.Shell" )
Set oSession =WShell .exec( puttyPATH & " " & sHost & " -l " & sUser & " -pw " & sPasswd)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900