Skip to main content

Hyper Layer Game Panel | how to setup Scheduled Tasks

Efficiently managing your game server often involves automating routine tasks and actions. Whether you need to schedule regular server restarts or perform specific actions at certain intervals, leveraging the scheduling capabilities in your game panel can save time and streamline your server management. In this guide, we will walk you through the process of scheduling actions, such as server restarts, at specific times or recurring intervals. By following these steps, you can ensure that your server operates smoothly and consistently, freeing up your time for other important tasks. Let's dive in and explore how to schedule actions within your game panel!

For scheduling a server restart at 4 AM every morning

  1. Log in to the game control panel at https://gamecp.hyperlayer.net/.
  2. Within your game server click on Scheduled Tasks on the left-hand side

  1. Click on New and select the desired task you wish to schedule.

  1. Choose Scheduled Start/Stop/Restart in the dropdown and click New.

  1. Provide a name for the task, such as 4 AM Server Reboot and select the desired options.

    • type - Daily
    • Start - Next day at 4:00 AM
    • Recur Every - 1 Days
    • Repeat Task - unticked

tip

Additional advanced options are available such as:

  • Action - Restart, Stop, Start.
  • Commandline - You can change the commandline based on the Action.
  • If Players are Connected
    • Force Restart - Ignore player count and execute task.
    • Wait until empty - Task will not execute until there is 0 players on the server.
    • Skip restart - Bypass the Action at the time set if there is a postive player count on the server.

  1. Click Save to create the task. You will see the task is now scheduled

For scheduling a task to run every 6 hours

  1. Log in to the game control panel at https://gamecp.hyperlayer.net/.
  2. Within your game server click on Scheduled Tasks on the left-hand side

  1. Click on New and select the desired task you wish to schedule.

  1. Choose Scheduled Start/Stop/Restart in the dropdown and click New.

  1. Provide a name for the task, such as 6 Hourly Server Reboot and select the desired options.

    • type - Daily
    • Start - current time
    • Recur Every - 1 Days
    • Repeat Task - ticked
      • Repeat Every - 6 Hours
      • For - 24 Hours
    tip

    You can pick when you want to start, and after that, reboots will occur every 6 hours.

tip

Additional advanced options are available such as:

  • Action - Restart, Stop, Start.
  • Commandline - You can change the commandline based on the Action.
  • If Players are Connected
    • Force Restart - Ignore player count and execute task.
    • Wait until empty - Task will not execute until there is 0 players on the server.
    • Skip restart - Bypass the Action at the time set if there is a postive player count on the server.

  1. Click Save to create the task. You will see the task is now scheduled

How To choose a time zone

caution

Changing the time zone will affect the timing of automatic restarts.

example

If your current time zone is set to Coordinated Universal Time (UTC), scheduling a restart for 6 PM will result in the restart occurring at 6 PM in the UTC time zone. However, if you update your time zone to UTC+2, which is two hours ahead of UTC, the restart will be shifted to 8 PM in UTC.

  1. Log in to the game control panel at https://gamecp.hyperlayer.net/, go to My Profile on the top right-hand side.

  1. Locate the editable content section and change the time zone setting.

  1. Click Save Changes

By following these steps, you can easily schedule actions and tasks for your server, ensuring automated processes and timely restarts based on your desired schedule.