- Game Servers
- Garrys Mod
- Conan Exiles
- Arma 3
- Tower Unite
- Day of Infamy
- Space Engineers
- Web Hosting
How to use scheduled tasks
Scheduled tasks allow you to set commands to be run on your Minecraft server at certain points throughout the day or night. This is useful if you want to do something like /save-all, to make sure that your world is saved every hour. Equally you can input any Minecraft command and it will run on your server.
How to setup a scheduled task
Firstly you need to click on tasks within NiTROPanel and you will see a few options. Enter Command, start at, repeat every, restart after command and delay restart after command for. These all need to be filled out
Let's kick a scenario real quick!
I would like my server to restart every 12 hours starting at midnight issuing the command 'say Server will be restarting in 60 seconds', with a 1 minute delay before the restart, after the command is issued.
To achieve this I would set the command value to say Server will be restarting in 60 seconds. The start at time to 00:00, repeat every set to 12 hours, restart after command set to yes, and finally the delay restart after command for value set to 1 minute.