View Single Post
Old 11-11-2003, 09:29 PM  
ddeca
Member
 
Join Date: Aug 2003
Posts: 73
Default

THX Mouton..

Nice tip... Made the bat like this

The ECHO is just there to tell me what's get executed

Code:
@echo off
CD c:\windrop
    pslist eggdrop > nul
    IF ERRORLEVEL 1 GOTO con
ECHO BOT STILL RUNNING (DiD NOTHiNG)
GOTO END

:CON
CD c:\windrop
start hidewndw /r /n 'c:\windrop\eggdrop.exe -nt eggdrop.conf'
ECHO BOT DOWN (RESTARTiNG iT)

:END
The .BAT file works perfekt as
site command ("SITE BOT")
and in
dos (c:\ioftpd\scripts\bot.bat)
and as
OnFtpLogIn = EXEC ..\scripts\bot.bat

but not in Schedular... really pisses me of any one have an ide ??
tryed this 3 options...and no1 starts the damn script
(and I did restart ioFTPD and the whole box NOT only rehased it)

Check1_Bot = 0,20,40 * * * EXEC bot
Check2_Bot = 0,20,40 * * * EXEC bot.bat
Check3_Bot = 0,20,40 * * * EXEC ..\scripts\bot.bat

[scripts]
bot = EXEC ..\scripts\bot.bat


Is there away of debug the SCHEDUALR ??
To se what is exec or in this case not excute

TIA ddeca
ddeca is offline   Reply With Quote