mIRC Home    About    Download    Register    News    Help

Print Thread
#225598 06/09/10 12:41 AM
Joined: Aug 2010
Posts: 11
G
Pikka bird
OP Offline
Pikka bird
G
Joined: Aug 2010
Posts: 11

Is it possible to use scokets to login using putty then preform ./whatever ?


Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
using putty? putty is a program for using the telnet/ftp protocol. If a program u have can connect to it, via an internet/intranet connection, then mIRC can do it. The hard part is figuring out what to send, when to send it, and how to inturpet the data that is read.


I am SReject
My Stuff
Joined: Aug 2010
Posts: 11
G
Pikka bird
OP Offline
Pikka bird
G
Joined: Aug 2010
Posts: 11
Yes, Im new to the socket stuff so this is going to be a challenge.

Situation: On a irc shell there is a process that creates/updates a channel list for our Java and Webtv users. At times this process hangs up. So I have to login to the shell and issue a ./restart to restart it.

Goal: when the process hangs up, login to the shell, invoke the ./restart

Note: I have a socket routine now that check the a 'Last update' line in channels.php. This will tell me if the procces has hung up.


Link Copied to Clipboard