Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Auto Restart the Server #4650

Closed
pushpender-singh-ap opened this issue Sep 13, 2024 · 1 comment
Closed

[Feature]: Auto Restart the Server #4650

pushpender-singh-ap opened this issue Sep 13, 2024 · 1 comment

Comments

@pushpender-singh-ap
Copy link

User story

If i wanna schedule restart in my rust server there is not command for that.

Game

Rust

Linux distro

Ubuntu 20.04

Command

command: restart

Further information

If I wanna schedule restart in my rust server there it's automatically perform ./rustserver stop command after that perform ./rustserver start command.

@rAmfu
Copy link

rAmfu commented Sep 28, 2024

Use crontab for that.
Crontab generator:
https://crontab.guru/
https://docs.linuxgsm.com/commands/start-stop-restart
My exaple:
*/5 * * * * /home/palserw/pwserver monitor > /dev/null 2>&1
0 * * * * /home/palserw/pwserver check-update > /dev/null 2>&1

@github-project-automation github-project-automation bot moved this from 🆕 New Issues to ✅ Done in LinuxGSM Backlog Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants