Scripts can be run either on schedule or on events (uploadcomplete, etc)
scheduled:
speed that io gives script is current speed, not avg. so if the guy up at 1000kbps and for one second up at 4kbps, if the script runs at that time, he'll be kicked.
to get an average on 5 mins, script would have to run often during those 5 mins and sample speed each time and to an average. way too resource hungry.
on event:
after a file is finished, speed given by io if avg speed for the whole file. that could be checked easily, but this doesn't use your 5 mins time check.
|