Page 1 of 1

Server commands

PostPosted: Wed Aug 18, 2010 12:02 am
by tnarocks
Is there a line or something that i can put in one of the cfg files like the server.cfg to get the server to restart itself at like 5 in the morning? if so can someone post it. i would rather have the server automaticly restart itself then have to do it manual ever time steam comes out with a update

PostPosted: Wed Aug 18, 2010 5:54 am
by XE_ManUp
I know that EventScripts includes a script called "crontab" which you can es_load.

See below for specifics:

http://www.eventscripts.com/pages/Crontab

PostPosted: Wed Aug 18, 2010 11:27 am
by tnarocks
so what would be the command that i would have to put in? im lost..

PostPosted: Wed Aug 18, 2010 10:21 pm
by IPS TOONCES
I believe one would need to edit the crontab config and add the line "es_load crontab" to your autoexec or server config files.

PostPosted: Thu Aug 19, 2010 8:43 pm
by tnarocks
ok but what if i wanted to have it restart at like 5 in the morning every day how would i put in that command

PostPosted: Fri Aug 20, 2010 1:11 am
by IPS TOONCES
i've never used crontab before but I would assume you edit the crontab config file in your eventscripts folder

PostPosted: Fri Aug 20, 2010 1:20 am
by XE_ManUp
Well, I think you load crontab in the autoexec then you issues the crontab command from there as well. When I have more time, I can research it.

PostPosted: Fri Aug 20, 2010 5:03 am
by IPS TOONCES
thats more likely :D