Jump to content


Photo

Auto Update Server on restart ?


  • Please log in to reply
3 replies to this topic

#1 jeremweb

jeremweb

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts
  • LocationFrance

Posted 21 July 2012 - 07:22 AM

Hi,
i have a question : Can we update the server when we restart the server ?
(create a .bat or just add a parameter like : dedicatedserver.exe +autoupdate ? )
thx for help.
Posted Image

#2 jeremweb

jeremweb

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts
  • LocationFrance

Posted 22 July 2012 - 07:05 AM

no command ?
Posted Image

#3 Juggoire

Juggoire

    Member

  • Members
  • PipPip
  • 11 posts

Posted 11 August 2012 - 06:49 AM

I tend to set up the server on a scheduled 'downtime' during the day and have SteamCMD run scripts to update all the running servers during this period.

It's easy enough to do in Windows, I can post a step-by-step guide for this - but no idea how to do this with Linux (sorry!)

#4 Echon

Echon

    Lead Programmer

  • IllFonic
  • PipPipPip
  • 33 posts

Posted 14 August 2012 - 12:22 PM

With Linux you'd likely use a crontab job for that Posted Image

I've been scouring the dedicated server APIs and documentation trying to find some auto-update functionality and have not. I have to wonder if only Source games can support that. I'll ask Valve.

For now it remains as the manual process of running the app_update command again. I know it's tedious, I have to do it for our roughly 65 dedicated servers any time there's a network protocol change, haha.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users