firesphere/healthcheckjobs
最新稳定版本:0.1.0
Composer 安装命令:
composer require firesphere/healthcheckjobs
包简介
Run symbiote/queuedjobs, and ping a Healthchecks.io endpoint for start/finish/failure
README 文档
README
You can either self-host healthchecks, or create an account at healthchecks.io
If no title is set, the classname will be used as title.
Configuration:
--- name: my-healthchecks --- Firesphere\HealthcheckJobs\Services\HealthcheckService: endpoint: 'https://health.example.com' api_key: 'my-api-key-here' # Note, API Keys are per PROJECT, not
Add a time-out and grace time
Add the following to your queued job:
public function getTimeout() { return $time_in_seconds; } public function getGrace() { return $time_in_seconds; }
Add a cron formatted schedule
public function getSchedule() { return '*/5 * * * *'; // A valid cron schedule }
统计信息
- 总下载量: 370
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2023-09-05