https://github.com/mitoop/monitor
Monitor it
https://github.com/mitoop/monitor
Last synced: 6 months ago
JSON representation
Monitor it
- Host: GitHub
- URL: https://github.com/mitoop/monitor
- Owner: mitoop
- Created: 2023-01-04T08:26:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T02:16:28.000Z (over 3 years ago)
- Last Synced: 2025-07-30T22:29:46.683Z (11 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monitor
## 说明
常驻脚本监控,可根据需要配置监控信号/执行时间/执行次数/代码更新。
常驻脚本重启需要配合 `Supervisor` 或 `PM2` 等进程管理程序。
## 要求
1. PHP >= 7.1.0
2. ext-pcntl
## 安装
```shell
$ composer require mitoop/monitor
```
## 使用
参考 `tests` 文件夹下的例子