Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jumping (not a redirect exactly) to another platform cgi

Status
Not open for further replies.

durell

Programmer
Feb 4, 2002
12
US
This is the situation.

1) A Perl script is running on an NT Box from the command line of the console (it is on a timer). It has no output only updates a database... so far no problems...Script runs ok!!

2) BUT on certain conditions...it needs to start another sctipt (CGI) on a UNIX box. The UNIX sctipt also has no output..just copies some files around and exits.

Question: How do I get this UNIX cgi script to run?
 
well you can open up a rsh/telnet/ssh session and run the command. I believe there are modules for each.... or you can do some socket programming....
 
the socket approach seems way to complicated for what I want...how would I go about the rsh/telnet/ssh session approach.
 
Well I know there is an SSH module but I have never used any of these methods myself. I would just open up a session on a remote machine and execute the script with a shell command. I'm sure others here have done such things before. Maybe one of them can give you some pointers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top