how to execute script from my desktop windows xp to my HPUX server?


 
Thread Tools Search this Thread
Operating Systems HP-UX how to execute script from my desktop windows xp to my HPUX server?
# 1  
Old 03-04-2008
how to execute script from my desktop windows xp to my HPUX server?

Good day,

i would like to get some advice, how will i execute my script in hp ux servers, and how to configure rsh and rexec.

thanks
# 2  
Old 03-05-2008
Here is one way I figure out ,FYI.
1.Create a crontab job shell,in which you list files in a fixed directory which may .temp.If there is a .sh file in the directory,then just run it.Then U may delete it from the directory.This crontab job can be run every 1 minute.It makes sure every shell scripts can be executed just after it was found.
2.When U have a shell in Windows platform to be executed in Unix,just ftp it to the directory of Unix.This can be done either in scripts in Windows or manually.

PS:The step 2 can be replaced by ftp to fixed directory in Windows from Unix to find files to be executed.In this case ,U'll need a ftp server on Windows.When U have script to be executed in unix,just move it the fixed directory will do .
# 3  
Old 03-05-2008
Note: I am assuming you mean shell script not bat files. bat files will not work in UNIX.

Without either copying the shell script to the unix box or NSF mounting your PC disks on the UNIX box, you cannot execute a script. You will have to telnet or ssh into the UNIX box, then run the script from there.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

scp to get a file from windows desktop to UNIX server

Hi, I want to use scp to upload file to my unix server. i am using this: scp D:\testr.txt unixuser@unixhost:/path it returns an error: ssh: D: host/servname not known i am not sure how to tell path of my D drive in the command and how will command understand it has to pick from my... (5 Replies)
Discussion started by: Kohli
5 Replies

2. Shell Programming and Scripting

Shell script to copy a file from one server to anther server and execute the binary

Hi , Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file. We want to copy a file on multiple servers and run the installation. Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies

3. Windows & DOS: Issues & Discussions

Transfer of zipped folder from windows desktop to UNIX server

Hi all, I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
Discussion started by: sherin22
3 Replies

4. Windows & DOS: Issues & Discussions

Get file on our windows desktop from a ubuntu server

Hello, How can I please have a program automatically upload some files from a ubuntu server to my machine desktop that is running windows XP? I would like to be able to do that from the windows machine itself. Thanks, (3 Replies)
Discussion started by: Pouchie1
3 Replies

5. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

6. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

7. UNIX for Advanced & Expert Users

execute a script on test server from dev server

I need to execute a script from dev server which is located on Test server.I can use ftp to connect to dev server and from there how can i execute a command on test server. Thanks (5 Replies)
Discussion started by: ukatru
5 Replies

8. HP-UX

to put the unix script output on windows desktop

Hi could you pls guide a to automate that unix script output is avaialble on desktop.i can FTP and then download but i want to automate it. rgds (1 Reply)
Discussion started by: Assassin
1 Replies

9. UNIX for Dummies Questions & Answers

Execute script on Unix/Linux from Windows

Hello ALL, Does anyone know how I can execute a script on Unix or Linux? Details: This execution needs to start from Windows and I need to pass some parameters to the script. If anyone knows how to execute, please, let me know. Please, send me an example how it is possible. Thanks. (4 Replies)
Discussion started by: brbillyh
4 Replies

10. UNIX for Dummies Questions & Answers

How to execute a shell script from Windows

I like to start a korn job remotely, from windows. I tried REXEC and that is not what I want. Need help !!!! thanks (4 Replies)
Discussion started by: kyawlin
4 Replies
Login or Register to Ask a Question