Articles on: WitherPanel
This article is also available in:

How to use our schedules

In this article, we will teach you how to use our schedules in WitherHosting to run automated tasks and many other things!


⏳ Creating a Schedule ⏳



First, make sure you've logged into WitherPanel. Then, go to the server you want to manage schedules for and click on the "Schedules" button.



Next, click on "Create Schedule" to set up a new schedule that will run tasks according to your specifications.




✅ Understanding the Schedules ✅



A window will pop up with fields for you to fill in. Let's go through each one:

Schedule Name - Name your schedule anything you like, such as Backups, Tasks, Test, etc.

Minute - Specify the minute or interval in minutes for the schedule to run. For example, writing "5" will run the schedule at the 5th minute of each hour (e.g., 12:05, 1:05). Writing "/5" means it will run every 5 minutes (e.g., 12:05, 12:10).

Hour - Specify the hour or interval in hours for the schedule. For instance, writing "5" will run the schedule at 5:00 AM daily. Writing "/5" will run it every 5 hours (e.g., 5:00, 10:00).

Day of the Month - Specify the day of the month for the schedule to run. Writing "5" will run the schedule on the 5th of each month. Writing "/5" means it will run every 5 days (e.g., 5th, 10th).

Month - Specify the month or interval in months for the schedule. Writing "5" means the schedule will run every May. Writing "/5" means it will run every 5 months (e.g., May, October).

Day of the Week - Specify the day of the week for the schedule. Writing "5" means the schedule will run every Friday.

For more help on cronjob syntax, visit Crontab Guru.

Additionally, you have these options:

Show Cheatsheet - Display a cron cheatsheet to help with syntax.
Only when server is online - Run the schedule only when the server is online or regardless of server status.
Schedule Enabled - Enable the schedule immediately or choose to run it manually later.

Click on "Create Schedule" once you've filled in the necessary fields. After creating, click on it to add tasks.




➕ Adding Tasks ➕



Click on "New Task". A window will appear with more options.



In this window, you'll see:

Action - Specify the action for the server to perform. Options include:

Send Command - Execute console commands. Enter the command in the Payload field.
Send Power Action - Schedule actions like start, stop, restart, or kill.
Create Backup - Create a backup and specify any files or directories to ignore.

Time Offset - Determine the delay before this task runs after the first task (useful for multiple tasks).

Continue on failure - Decide whether to continue tasks even if one fails. Click "Create Task" once done.




✔️ Verifying the Schedule ✔️



To verify the task, click on the "Run Now" button to execute it immediately.



As shown, the server successfully ran the command and it is working.




That's the guide on how to use our schedules! If you have any questions, feel free to open a live chat, and we'll assist you as soon as we can! You can also join our Discord to get help from other members and staff.

Updated on: 30/05/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!