This plugin seems to cover this :O
http://forums.alliedmods.net/showthr...light=schedule
Also whats the point in the else statement and having parameters on the task :E? and would you not have to exec the server.cfg before server_cmd("restart")?
I can't remember exactly what the "restart" command does, I seem to remember it just being similar to "exit" and you would still need something to autorestart your server?
__________________