Whew, a lot of that is way over my head. It's great to know you are on top of your scripts though. Here is some debug output I ran and captured at a time it kicked a user:
Code:
C:\ioFTPD\system>..\scripts\SiteKill.exe debug user!=sitebot "idletime>600"
cnr=0 cid=0 uid=139 gid=0 Username=iogui Groupname=SiTEOPS
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:1
TimesToKill=-1 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=1 cid=1 uid=111 gid=0 Username=sitebot Groupname=SiTEOPS
CompareString:user!=sitebot result:1
TimesToKill=-1 compare:user!=sitebot ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=2 cid=3 uid=104 gid=2 Username=user1 Groupname=group1
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:12
TimesToKill=-1 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=3 cid=4 uid=106 gid=2 Username=user2 Groupname=group1
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:21
TimesToKill=-1 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=4 cid=5 uid=108 gid=2 Username=user3 Groupname=group1
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
TimesToKill=-1 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=5 cid=8 uid=126 gid=3 Username=user4 Groupname=group2
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:4294967
TimesToKill=-1 compare:idletime>600 ArgumentResult=EQ, TotalResult=1
Final compare result of all arguments EQ
Kicked: user4 *@72.20.3.58
cnr=6 cid=9 uid=106 gid=2 Username=user2 Groupname=group1
CompareString:user!=sitebot result:0
TimesToKill=-2 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:18
TimesToKill=-2 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=7 cid=10 uid=104 gid=2 Username=user1 Groupname=group1
CompareString:user!=sitebot result:0
TimesToKill=-2 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:0
TimesToKill=-2 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=8 cid=12 uid=103 gid=0 Username=eger Groupname=SiTEOPS
CompareString:user!=sitebot result:0
TimesToKill=-2 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:137
TimesToKill=-2 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=9 cid=13 uid=103 gid=0 Username=eger Groupname=SiTEOPS
CompareString:user!=sitebot result:0
TimesToKill=-2 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:43
TimesToKill=-2 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=10 cid=15 uid=104 gid=2 Username=user1 Groupname=group1
CompareString:user!=sitebot result:0
TimesToKill=-2 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:23
TimesToKill=-2 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=11 cid=18 uid=109 gid=2 Username=user5 Groupname=group1
CompareString:user!=sitebot result:0
TimesToKill=-2 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:4
TimesToKill=-2 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
cnr=12 cid=23 uid=109 gid=2 Username=user5 Groupname=group1
CompareString:user!=sitebot result:0
TimesToKill=-2 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>600 result:4
TimesToKill=-2 compare:idletime>600 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
Totally 1 connections kicked, due to:user!=sitebot idletime>600
2 things I noticed in this debug output. The first being that the error is only logged from the schedular when SiteKill kicks someone for being idle. However they may not have actually been idle which brings up the second thing I noticed.
When the user here was kicked you can see the result (the time which sitekill thought they were idle?) was 4294967 which is actually incorrect. When running the cmd from cmd line over and over it will eventually kick a person even when none were close to 600 seconds idle. This is probably due to me just running it many times back to back (a shared memory reading problem?).
But what I did was set the timer low and then log in a user i created and let it idle. After the schedular ran the cmd and the user was killed I checked the error log. Sure enough there was a Schedular error for that same time as when the user was kicked.
The user names have been munged from that debug output and the current io version I am running is 5.8.5r. I also had the same issue on 5.9.7r.
I understand this would be nice to have an error free script. However it's probably not worth your time as the sitekill.exe IS working fine and is kicking the users as it should. The schedular just thinks it is returning an error for some reason when it kicks i guess...