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 request:When the process becomes FATAL state, can there be a configuration to control it, how many seconds to restart the task in FATAL state #1509

Closed
yetHandsome opened this issue May 27, 2022 · 1 comment

Comments

@yetHandsome
Copy link

yetHandsome commented May 27, 2022

At present, I have completed it by adding the following instructions to the scheduled task, which is not elegant enough

#crontab -e

*    *    *    *    *      supervisorctl status | awk  '{print $1}' | xargs supervisorctl start

If you don't have awk installed, you can do the same thing with the following commands

*    *    *    *    *     supervisorctl status | grep -oE '^[^ ]+' | xargs supervisorctl start

Maybe the following problem can be solved
#487

@mnaberez
Copy link
Member

Duplicate of #487

@mnaberez mnaberez marked this as a duplicate of #487 Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants