• Auto server restart
    1 replies, posted
Is there anyway to make my gmod server restart every 24 hours ?
There's a program called SeDirector ([url]https://ashersoftware.com/seDirector/download/[/url]) which allows for tasks, like restarting/updating etc whenever you want. It's free but there's payed-for options. If you don't want to do that, using crons on Linux, or Task Scheduler on Windows depending on your OS might allow you to forcefully close SRCDS at a certain time of day, which would then be restarted if you have that restart on crash code in your batch file that I found with a quick google: [QUOTE]echo off cls echo SRCDS auto restart title Garry's Mod auto restart :srcds echo (%time%) SRCDS started. start /wait srcds.exe echo (%time%) Your server just closed or crashed. RESTARTING! goto srcds[/QUOTE] An alternative to the code above would be [url]http://serverdoc.com/[/url]
Sorry, you need to Log In to post a reply to this thread.