Welcome to WebmasterWorld Guest from 54.160.163.163

Forum Moderators: phranque

Message Too Old, No Replies

Program Problem

How to set up script to autorun another script

     

scott

6:13 pm on Nov 28, 2000 (gmt 0)

10+ Year Member



So I got this log analysis script that is not a .cgi file and must be run from telnet. My host does not allow telnet connections. Also, I'd like to set up this program to auto run (generate a daily report) every day anyway. Is there a way to write a script that does this and will allow me to start the script internally as well? I'm guessing starting the script on the server will get me around the telnet restriction. Don't know if I'm right or wrong about that. Any Perl heavies have any ideas on this one?

-Scott

scott

6:32 pm on Nov 28, 2000 (gmt 0)

10+ Year Member



Okay, I did find 'cron', which will solve the autorun issue, but am still stuck on the telnet access problem. Any takers?

NFFC

6:58 pm on Nov 28, 2000 (gmt 0)

WebmasterWorld Senior Member nffc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



"The Commander is a web-based UNIX shell interface. From a web browser, this script allows you to run UNIX commands on your web host server (depending on the permissions set by your server administrator). This is particularly useful if your domain hosting provider does not allow telnet access. All you need to do is install the script in your CGI-BIN and call it from any web browser."

Download here [icthus.net]

Read the WARNINGS scott!

scott

7:17 pm on Nov 28, 2000 (gmt 0)

10+ Year Member



Thanks a million! Exactly what I was looking for. Lovely warning though.....running this program may result in deletion of key files from your server.......OUCH! Could they be a little more vague?

-Scott