You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LinuxGSM comes with an game server `check-update` command. All [SteamCMD](../steamcmd/) games servers are supported.
4
+
5
+
## Commands
6
+
7
+
Standard: `./gameserver check-update`
8
+
9
+
Short: `./gameserver cu`
10
+
11
+
Check-update will check for any available update, taking no action if no update is available. If there is an update it will send a alert if one is set up.
12
+
13
+
## Automatic check for avaliupdate
14
+
15
+
### Scheduled check for updates updates
16
+
17
+
A [cronjob](../configuration/cronjobs.md) can be set to run `check-update` at any given time.
18
+
19
+
Currently a cronjob is only makes sense if a [Alert](../alerts/README.md) is set up.
20
+
21
+
To edit cronjobs, type:
22
+
23
+
`crontab -e`
24
+
25
+
A cronjob can be run as the `gameserver user` or as `root`, this choice is down to personal preference. Remember to amend the examples to match a specific game server.
26
+
27
+
Here is an example of a user based cronjob to check for an update once an hour.
0 commit comments