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

How can I restart the frps server on ubuntu every hour? #4127

Closed
11 tasks
bannyhm opened this issue Apr 4, 2024 · 4 comments
Closed
11 tasks

How can I restart the frps server on ubuntu every hour? #4127

bannyhm opened this issue Apr 4, 2024 · 4 comments

Comments

@bannyhm
Copy link

bannyhm commented Apr 4, 2024

Describe the feature request

How can I restart the frps server on ubuntu automatically every hour?

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
@xqzr
Copy link

xqzr commented Apr 6, 2024

crontab -e
0 * * * * systemctl restart frps

不过,我很好奇 为什么要这么做

@bannyhm
Copy link
Author

bannyhm commented Apr 8, 2024

crontab -e
0 * * * * systemctl restart frps

不过,我很好奇 为什么要这么做

thanks. But for some reason I get this in return:

$ systemctl restart frps
Failed to restart frps.service: Unit frps.service not found.

@bannyhm
Copy link
Author

bannyhm commented Apr 8, 2024

It looks like this example is working
#176 (comment)

Copy link

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants