承接 firesphere/healthcheckjobs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GPL v3 or later

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2023-09-05