Wood Chen

Schedule Restarts for SuperVisord-Managed Processes in BT Panel

0 comments94 views30 words

This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文

Originally published at https://www.q58.club/t/topic/345

Find the installation path of supervisorctl

sudo find / -name supervisorctl

#Expected output
/www/server/panel/pyenv/bin/supervisorctl

Check the currently running tasks

/www/server/panel/pyenv/bin/supervisorctl status

#Example output
chat_api:chat_api_00             RUNNING   pid 3930894, uptime 0:53:21

Edit the scheduled task

Pasted image 20250311161815

Scheduled task script:

/www/server/panel/pyenv/bin/supervisorctl restart chat_api:chat_api_00

Test run

Pasted image 20250311161936

Related posts

Comments 0