Skip to main content

Posts

Showing posts from September, 2013

Minecraft server update cron script

Automatically update crafbukkit server to latest development version Modify as need and place or link the below script into your '/etc/cron.daily/' folder; remember not to use dots in your cron files as they will not be read - for example name it or soft link it as 'update-crafbukkit-minecraft'. #!/bin/sh # # file: update-craftbukkit-minecraft.sh /etc/init.d/minecraft-server.sh stop wget -N http://dl.bukkit.org/latest-dev/craftbukkit.jar # got the link by reading here: http://wiki.bukkit.org/Setting_up_a_server and guessing to change '-rb' to '-dev' rm minecraft_server.jar ln -s craftbukkit.jar minecraft_server.jar /etc/init.d/minecraft-server.sh start You can find my minecraft setup and my minecraft init.d startup script at an older post Minecraft Server on Debian .