PDA

View Full Version : [REQ] Start Eggdrop Through ioFTPD


DriverMan_2
02-18-2004, 06:54 PM
I checked ioControl v1.0 our and it works good.

One thing that is missing is that if your eggdrop dies and you don't got remote/physical access to the box you are in bad situation :p

Greets to that person who can create a script like this.

THNX :banana:

neoxed
02-18-2004, 07:05 PM
Hmmm?

Did you hit "New Thread" by accident, instead of "Post Reply"?

wooolF[RM]
02-18-2004, 07:28 PM
I think he kinda made a point that it would be nice to extend such a script like ioControl v1.0 because "if your eggdrop dies and you don't got remote/physical access to the box you are in bad situation "...

kinda indirect request I think :p

DriverMan_2
02-19-2004, 09:11 AM
My proposition was that maybe the owner could add this fucntion in ioControl or if someone wanted to do a such script. :D

//DriverMan

biboun
02-19-2004, 09:24 AM
You still have access with the ftp I think.
It is enough for you to do an .bat for launching your eggdrop and make a command in ioftpd.ini as :

startbot = ..\scripts\startbot.bat

Several subjects talk about it

Ren
02-19-2004, 10:54 AM
a definate workin guide or exe thats sceduled to run every 5 mins to check the bot is up would be handy rathrer than relying on a batch file

Mouton
02-19-2004, 11:03 AM
OnFtpLogin
Each time someone log-in, start .bat that check if bot is running and restart it if not.

alturismo
02-19-2004, 12:20 PM
or schedule to exec the bat every xx minutes, same issue like mouton said

as long ioFTPD runs, bot also will run ;)

all u need is either ps.exe, pslist.exe or taskisrunning.exe and a fitting bat file

there are some threads in forum howto ...

wooolF[RM]
02-19-2004, 06:42 PM
Originally posted by alturismo
all u need is either ps.exe, pslist.exe or taskisrunning.exeu wont be able to start windrop once again if it's allready running... (at least as far as I know)... is there really need for those apps? :D

Mouton
02-19-2004, 07:44 PM
u can start multiple copies of eggdrop.exe by just starting it many times... thus the need for those apps.

wooolF[RM]
02-20-2004, 10:07 AM
mmkay... thought it was the same way as eggdrop :o

Mouton
02-20-2004, 11:40 AM
eggdrop can also be started multiple times.
the eggdrop install/readme file says u should use botchk in scripts directory to start the eggdrop only if it's not running. that script check if the eggdrop executable is running using the pid file and restart it if it can't see it.

wooolF[RM]
02-20-2004, 11:48 AM
that's right