The Schedules system in Peel Panel is a powerful tool designed to help you automate tasks on your game server. Whether you need to schedule regular backups, server restarts, or other maintenance routines, this system streamlines operations, saving you time and effort. This guide will walk you through the steps to effectively set up and manage schedules for your server hosted with BananaServers.
Accessing the Schedules System
Step 1: Log in to the Panel
Navigate to the BananaServers Peel Panel and log in using your credentials.
Step 2: Select Your Server
From the dashboard, click on the server where you want to create or manage schedules.
Step 3: Open the Schedules Tab
In the server management interface, locate the Schedules tab in the navigation menu and click on it.
Creating a New Schedule
Step 1: Add a New Schedule
Click the Create Schedule button to begin.
Step 2: Configure Schedule Details
-
Name: Enter a descriptive name for your schedule (e.g., "Daily Backup").
-
Enabled: Toggle the switch to enable or disable the schedule.
Step 3: Set the Frequency
Use a cron expression to define when the schedule should run. Below is a quick guide to the cron expression format:
-
Minute (0 - 59): The minute of the hour when the task runs.
-
Hour (0 - 23): The hour of the day when the task runs.
-
Day of the Month (1 - 31): The day of the month when the task runs.
-
Month (1 - 12): The month of the year when the task runs.
-
Day of the Week (0 - 6): The day of the week when the task runs (Sunday = 0, Saturday = 6).
Examples:
-
To run a task daily at midnight, use
0 0 * * *. -
To run a task every 6 hours, use
0 */6 * * *.
Step 4: Define Scheduled Tasks
Click New Task to add a task.
-
Action: Choose the desired action:
-
Send Command: Execute a specific command on the server.
-
Power Action: Perform actions like restarting, stopping, or starting the server.
-
Backup: Create a backup of your server data.
-
-
Payload: Enter the details required for the action. For example, if sending a command, input the exact command.
-
Timing: Specify the delay (in seconds) after the schedule starts when the task should execute (e.g., 0 for immediate execution).
Step 5: Save the Schedule
Once all tasks are configured, click Create Schedule to finalize and save it.
Managing Existing Schedules
Viewing Schedules
In the Schedules tab, you'll see a list of all existing schedules for your server.
Editing a Schedule
Click on the schedule you want to modify, make the necessary changes, and save.
Enabling or Disabling a Schedule
Use the toggle switch next to each schedule to enable or disable it without deleting it.
Deleting a Schedule
Click the delete icon next to a schedule if it's no longer needed.
Example Schedules
6-Hour Server Restart
-
Name: 6-Hour Restart
-
Cron Expression:
0 */6 * * *(Runs every 6 hours) -
Task:
-
Action: Power Action
-
Payload: Restart
-
Daily Backup
-
Name: Daily Backup
-
Cron Expression:
0 2 * * *(Runs every day at 2 AM) -
Task:
-
Action: Create Backup
-
Weekly Backup
-
Name: Weekly Backup
-
Cron Expression:
0 2 * * 0(Runs every Sunday at 2 AM) -
Task:
-
Action: Create Backup
-
Troubleshooting
Cron Expression Issues
If your schedule isn't running as expected, double-check the syntax of your cron expression. Mistakes in formatting can cause the schedule to fail.
Task Errors
Verify the actions and payloads in your tasks are correct. For instance, ensure server commands are typed accurately and align with the server configuration.
Conclusion
The Schedules system in Peel Panel offers a robust solution for automating server management tasks. By setting up schedules, you can streamline operations like backups and restarts, ensuring your server runs smoothly with minimal manual effort. Use this guide to set up and manage your schedules effectively.
For further assistance, don’t hesitate to contact BananaServers support.
