Posts: 9
Threads: 4
Joined: Jul 2011
Reputation:
0
Heej all,
I got 3 war servers running in a dedicated server.
i Made 3 .sh files to load them.
i was wondering now, is it possible to reboot them with a script every night @ 5 am.
I also got public servers with .sh those must just stay online.
grtz
H2k
Posts: 6
Threads: 1
Joined: Jun 2011
Reputation:
0
07-14-2011, 07:45 AM
(This post was last modified: 07-14-2011, 07:46 AM by wildd.)
Just use cronjob to execute server starting script every night at 5.00, but think that there are also other solutions.
Posts: 9
Threads: 4
Joined: Jul 2011
Reputation:
0
not formilure with cronjob wil google it.
i use to have a .sh script of 7 lines that fixed this but i can't find it annymore.
it also restart the server automatic when an admin did rcon quit.
Posts: 298
Threads: 0
Joined: Jun 2011
Reputation:
6
Yes, making a cron will be your best bet.
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
Posts: 882
Threads: 43
Joined: Dec 2010
Reputation:
13
Just read-up on cronjobs and kill commands. It's quite easy. killall --e srcds_linux && killall --e srcds_run something like that.