> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Como reiniciar tu Bot de Discord Automaticamente

## Reinicia automáticamente tu bot de Discord con Schedules

¡Buenas noticias! Con nuestra función "Schedules" puedes reiniciar servidores sin necesidad de software o API de terceros. Esto es especialmente útil si tu bot necesita reiniciarse periódicamente.

### Pasos para reiniciar automáticamente tu bot de Discord

1. En el panel lateral izquierdo, selecciona la herramienta "Schedules" (Horarios).


![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/captura-de-pantalla-2024-06-17_i39ica.png)

2. Crea un nuevo Schedule. Allí deberás asignarle un nombre y configurar el tiempo entre cada reinicio. El sistema usa sintaxis cronjob. Esta página [Crontab Guru](https://crontab.guru/) te ayudará a configurar el tiempo. También puedes elegir si deseas que el programa solo se ejecute cuando el servidor esté en línea.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/captura-de-pantalla-2024-06-17_jc51n4.png)

3. Ahora, haz clic en la tarea creada anteriormente y luego en "Nueva tarea".


![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/captura-de-pantalla-2024-06-17_1k61jfe.png)

4. Selecciona una acción del menú. En este caso, elige "Enviar acción de energía" y en el menú desplegable elige "Reiniciar servidor". Finalmente, haz clic en "Crear tarea".


![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/captura-de-pantalla-2024-06-17_1m2gv1b.png)

5. ¡Listo! Tu bot se reiniciará automáticamente usando Schedules. Siempre puedes modificar esto y ajustar el tiempo u otros parámetros.

---

Si necesitas más ayuda, crea un ticket [aquí](https://billing.sparkedhost.com/submitticket.php).

---

Hecho por: Antonio G.
