需要你的点赞关注! X 账户:https://x.com/188888_x
本脚本旨在一键多开启动并监控 Kuzco 在特定时间内产生的任务完成情况,以判断其运行状态是否异常。一旦监测到没有任务完成产生,则会自动重启 Kuzco。
- 一键多开启动并实时监测 Kuzco 运行状态,确保正常运行。
- 支持自动重启功能,保障系统稳定性。
- 可选择性地启用 DC 推送功能,若不需要可轻松禁用。
- 在脚本开头可以轻松更改需要的参数。
- 如何启用 DC 推送功能:
- 填入你的webhook地址(创建 Webhook 机器人方法简单,详细步骤可参考谷歌搜索结果。)
- 启动脚本时直接按回车键
- 如果需要禁用 DC 推送功能,在启动时输入
1
启用。
- 确保系统已安装 Python 3。(ubuntu22.04有默认安装)
- 若系统未安装 Python 3,可通过谷歌搜索安装方法。
- 安装 Python 后,脚本可在所有平台通用。
在终端中运行以下命令启动脚本:
python3 kz.sh
#EN
Don't forget to like and follow! X account: https://x.com/188888_x
This script aims to start and monitor Kuzco in multiple instances at specific times to determine if its task completion status is abnormal. If no tasks are completed, the script will automatically restart Kuzco.
- One-click multi-instance startup and real-time monitoring of Kuzco's operational status to ensure normal operation.
- Supports automatic restart functionality to ensure system stability.
- Optionally enable DC push notifications, which can be easily disabled if not needed.
- You can easily change the required parameters at the beginning of the script.
- How to enable the DC push notification feature:
- Enter your webhook address (creating a Webhook bot is simple, detailed steps can be found via Google search).
- Press the Enter key when starting the script.
- To disable the DC push notification feature, enter
1
when starting.
- Ensure that Python 3 is installed on your system (Ubuntu 22.04 has it installed by default).
- If Python 3 is not installed, you can find installation methods via Google search.
- Once Python is installed, the script can be used on all platforms.
Run the following command in the terminal to start the script:
python3 kz.sh