How to start & stop xonotic server inside screen

Here you can find how to start and stop xonotic server inside a screen session with cron:

30 12 * * * /usr/bin/screen -dmS xonotic-server /home/xonotic/server_linux.sh
0 14 * * * /usr/bin/screen -r -X quit

This cron job start xonotic server every day at 12:30pm and stop it at 2:00pm

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s