Articles on: Discord Bot Hosting

How to Restart your Discord Bot automatically

With our feature called “Schedules”, servers can be restarted without the interaction of a 3rd party software or API. This is specifically useful if the bot has to be restarted periodically.

How to Restart your Discord Bot automatically

In the left side panel, select the tool “Schedules”

Create a new schedule. There, you will need to assign it a name, and configure the time between each restart. The system uses the cronjob syntax. This page can help you to configure the time. You can also configure if you want the schedule only to be executed when the server is online.

Now, click on the previously created task, and click where it says “New task”.

Here, you will have to select an action from the menu. In this case, we will select “Send power action”, and in the payload menu, we will select “Restart the server”. Finally, click “Create task”.

Your bot will now be restarted automatically using our Schedule system. You can always modify this, and adjust the time, or any other parameter.

If you require any further assistance, please create a ticket here.

Created By: Julián M.

Updated on: 22/12/2022

Was this article helpful?

Share your feedback


Thank you!