chris.mason;485474 Wrote: > Hi Gordon, > > Thanks for such a thorough explanation. I'll have time to run more > tests with the debugging as you suggest tomorrow and come back to you > with the results. > > To confirm - the EOD timer is usually set to 10 minutes. I just used 0 > for tests, principly to see after if the desired action had been > triggered, would it be triggered again if the same event circumstances > happened within the same event period. > > Ideally, I'd like to have the normal idle monitor on, suspending the > server if players aren't playing. But because I've almost gone insane > trying to WOL working in Ubuntu, I've had to keep the machine on during > the day, and shutdown at night. Oh, if only WOL would work properly > (the very same machine used to run Windows XP, and WOL worked > perfectly). Anyway, thats another discussion.. > > EDIT: Just remembered you asked for the code I was using to Block/Clear > over the CLI. I took this code from the script examples you provided > earlier in this thread: > > (Variables are all set at the start of the script) > > Block : > > %UTILSDIR%\SCPowerTool\SCCliTool.exe srvrpowerctrl setblock > Backup_Tasks viacli -h %SCSERVERIP% -p %SCPORT% -w 4 >> %LOGFILE% > > Clear block: > > %UTILSDIR%\SCPowerTool\SCCliTool.exe srvrpowerctrl clearblock > Backup_Tasks viacli -h %SCSERVERIP% -p %SCPORT% -w 2 >> %LOGFILE% That all looks good. How about adding a 'listblock' call after the clear to verify (in the log) that there are no blocks left?
-- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
