Hi
sometimes there is a must to launch some console commands at desired time to perform some maintenance (or smth) on the server when there are no players connected, mostly at night. However, probably we're sleeping at this time as well. Because of that we're updating our PB ban lists at night there is a must to launch two commands: pb_sv_banempty - to empty current ban list, and pb_sv_banload - to load a new list again. I've developed new plugin which is able to call defined list of commands at desired time. Config file looks like this:
<configuration plugin="consolecommand">
<settings name="settings">
<set name="hour">5</set>
<set name="minute">0</set>
</settings>
<commands>
<command>pb_sv_banempty</command>
<command>pb_sv_banload</command>
</commands>
</configuration>
At commands section you can define as many commands as you like, not only those two. The result of executed commands are stored in the log file:
090104 05:00:02 DEBUG ConsolecommandPlugin: Command started: pb_sv_banempty
090104 05:00:03 DEBUG ConsolecommandPlugin: Command response: ^3GV Protected Server: Ban List (in Memory) has been Emptied
090104 05:00:03 DEBUG ConsolecommandPlugin: Command started: pb_sv_banload
090104 05:00:04 DEBUG ConsolecommandPlugin: Command response: ^3GV Protected Server: xxxxx Bans loaded from .....cod4/pb/pbbans.dat
Download:
http://anoobis.republika.pl/b3/consolecommand/consolecommand.zipI hope it will be usefull for you

HF
regards
Anubis