Articles on: Multicraft

How to Set Up and Use Scheduled Tasks



This guide will show you how to properly set and use the scheduled tasks section of our Multicraft panel.

The scheduled tasks option is one of our Multicraft features that allows you to set scheduled events/commands to be executed at a specific date/time.

You can use it for regular backups, world saves, server restarts, in-game messages, and anything else you wish to execute.

Please note that to find the time of your server you need to go to your Multicraft console, then type a random message and sent it (like a). After doing so you need to note the time and date of the message and note the difference between your time zone and the machine time zone. This way you can find the server time zone anytime using your time zone.


๐Ÿ”ฌ How to Create a Scheduled Task ๐Ÿ”ฌ



To create a new scheduled task, you need to.

Log in to your Multicraft panel here and stop your server.


Click on Advanced, then on Scheduled Tasks.




Click on Create New.




Set the task to your liking and click on Create. You need to fill in the following information to set the scheduled task:



๐Ÿ’  Name


You can set any name you wish.
This name will be shown in your Scheduled Tasks list. In a few words, just to locate your task.


๐Ÿ’  Status


Your Task status.
If it is set to Scheduled (which enables the task) or Paused (which will temporarily disable it).


๐Ÿ’  Scheduled Time


When is it Scheduled?

When you create a new task, the time will automatically be set to the actual one, so if you want a task that will start in 5 minutes, just set the time 5 minutes above in this section for example.


๐Ÿ’  Interval


If it is marked, what time interval will Multicraft execute the task.


๐Ÿ’  Command


Command to be executed.
You can use any custom commands you wish but you will have to first define it as a custom command in the Multicraft panel.

Here is our guide explaining how to define a custom command via the Multicraft panel.


๐Ÿ’  Arguments


For example the text for the say command.
You can set a message when this task is executed.


๐Ÿ’  Run For


The task will run for:

- A specific player?
- To everyone?
- To the whole server? (execute in the console)


๐Ÿ”ฉ Example ๐Ÿ”ฉ



We will show you how to set a scheduled task for sending a message to all players on the server.

The task will look like this when you create it.



๐Ÿ’  Name


It will be set to Message as we can set it to whatever we want.


๐Ÿ’  Status


It will be set to Scheduled since we want the task to keep happening.


๐Ÿ’  Scheduled Time


We will open the Scheduled Time section and we will move just the minute's bar to be 5 minutes later, so our task will start in 5 minutes from the actual moment.




๐Ÿ’  Interval


We will set it to 1 day, so the task is repeating each day at the same hour.


๐Ÿ’  Command


The command is set to Server Say so it will send the message to any player.


๐Ÿ’  Arguments


The argument is the message we want to send to all players. In our example is set to Example_message as it could be set to anything we want.


๐Ÿ’  Run For


We want the command to be run for the entire server, so we will set the Server option in this section.

This should help you understand better how the scheduled tasks are working.

Note that we have a guide for setting up scheduled restarts and also scheduled backup.


If you find any issues setting up or using scheduled tasks on your server please contact us on live chat or via the ticket system.


โ• Useful Links โ•



- How to Install Any Server Type (Clean Installation)
- Changing your server version and type
- How to Upload and Use a Custom Jar File

Updated on: 03/14/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!