dereuromark/cakephp-queue-scheduler 问题修复 & 功能扩展

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

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

dereuromark/cakephp-queue-scheduler

最新稳定版本:0.2.12

Composer 安装命令:

composer require dereuromark/cakephp-queue-scheduler

包简介

QueueScheduler plugin for CakePHP

README 文档

README

CI Coverage Status Latest Stable Version Minimum PHP Version PHPStan License Total Downloads Coding Standards

A scheduler addon for Queue plugin.

This branch is for use with CakePHP 5.1+. For details see version map.

Motivation

A DB and queue based cronjob system does not require a sys-admin to manually modify the crontab file on a server. It also allows for easier multi-server (worker) environments.

Such a system provides easier input and "frequency" validation, as well as visual output of the schedule in the backend. For smaller projects it can also be ported more easily between systems (e.g. dev/stage/prod) using migrations instead of having to touch the server config.

Also logging and i18n customization can potentially be easier to get addressed this way.

Finally, with the Queue plugin integrating it can smoothly work alongside your existing Queue tasks. Any failed job (e.g. network issue, or email SMTP issue) can be automatically re-run x times as per config.

Further features:

  • Concurrency handling: Decision in case a job is still running or failed in queue, if it will run now ones or just skip.
  • The backend can provide buttons to also "trigger" any scheduled job manually where needed.
  • Autocomplete or proposals based on available Cake commands or Queue tasks.

screenshot

Installation

You can install this plugin into your CakePHP application using composer.

composer require dereuromark/cakephp-queue-scheduler

Installation and Usage

See Documentation.

Credit where credit is due

This plugin is heavily inspired by LordSimal Scheduler plugin and Laravel Task Scheduling Feature.

Use this Scheduler plugin if you prefer configuring them file-based and purely in crontab style.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-18