siebird/craft-watchtower 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

siebird/craft-watchtower

最新稳定版本:5.0.2

Composer 安装命令:

composer require siebird/craft-watchtower

包简介

Monitors the Craft queue manager for bottlenecks and send notifications emails

README 文档

README

Watchtower plugin monitors the Craft queue manager for bottlenecks and send notifications emails once those thresholds are met.

For added monitoring, you can also ping Oh Dear for scheduled task monitoring.

Requirements

  • PHP version 7.1 or higher
  • Craft CMS 3.3 or higher

Installation

To install this plugin, copy the command above to your terminal:

composer require siebird/craft-watchtower

In the control panel, go to settings, find Watchtower plugin and click to configure settings.

Configure cron job to trigger Watchtower

In order for Watchtower to monitor the queue manager–it needs to be run via a cron job. Configure a cron job to run a console command to hourly or at your desired interval. Example below runs every hour on the hour.

Cron Job (linux)

0 * * * * php craft watchtower/monitor

Custom Email Template

Review the default email template (./src/templates/_emails/notification) as a starting point. Enter the updated path in the custom email template field relative to Craft's ./templates folder.

统计信息

  • 总下载量: 1.76k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2021-05-28