Thank you, Kaspars!

I had been using a normal cron in the past just to restart the server 
every day at 1PM GMT (Least likely time people would be on the server).

This gives me a new way of scheduling restarts to check for updates.

Many thanks!
~Ash-Fox

Kaspars wrote:
> first of all, copy srcds_run to srcds_run2 and then edit the file and set
> STEAM=""
> 
> then make a script with the following content:
> #!/bin/sh
> cd /opt/SRCDS_tf2
> ../steam -command update -game tf -dir /opt/SRCDS_tf2
> 
> edit the paths for your installation and save it as
> /opt/SRCDS_tf2/run_update
> 
> then edit crontab and add this line:
> 0 * * * * /opt/SRCDS_tf2/run_update >>/opt/SRCDS_tf2/update.log 2>&1
> 
> this will execute update script every hour...
> 
> your server still needs to be started with -autoupdate flag, so it can
> utilize MasterRequestRestart message and restart the server on changelevel
> to update to take effect
> 
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to