PHPackages                             cronox/cake-cron-jobs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cronox/cake-cron-jobs

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

cronox/cake-cron-jobs
=====================

CakePHP3 Plugin to create jobs for CRON

1.1.0(6y ago)0180MITPHPPHP ^7.2

Since May 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/cronox/cake-cron-jobs)[ Packagist](https://packagist.org/packages/cronox/cake-cron-jobs)[ RSS](/packages/cronox-cake-cron-jobs/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/0c9ee5bc04b84a6169e7df4a4d9c953d2c3b33807cf7364e422996a25feea292/68747470733a2f2f7472617669732d63692e6f72672f63726f6e6f782f63616b652d63726f6e2d6a6f62732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cronox/cake-cron-jobs)[![Latest Stable Version](https://camo.githubusercontent.com/6a0c41ca3f45aece7c286604d3f946fd1e45d2065c5306c37b22f078d0fcaf74/68747470733a2f2f706f7365722e707567782e6f72672f63726f6e6f782f63616b652d63726f6e2d6a6f62732f762f737461626c65)](https://packagist.org/packages/cronox/cake-cron-jobs)[![Downloads](https://camo.githubusercontent.com/6ce94937dd9f66a607bada76883814b8e66a8c4cabd4abec96c14bd8611f850d/68747470733a2f2f706f7365722e707567782e6f72672f63726f6e6f782f63616b652d63726f6e2d6a6f62732f642f746f74616c2e706e67)](https://packagist.org/packages/cronox/cake-cron-jobs)[![Latest Version](https://camo.githubusercontent.com/be0e0eec9a6d408e66a731f4e423babd7c6c6e7242c3524d1f8d9456d05ce747/68747470733a2f2f706f7365722e707567782e6f72672f63726f6e6f782f63616b652d63726f6e2d6a6f62732f762f737461626c652e706e67)](https://packagist.org/packages/cronox/cake-cron-jobs)[![License](https://camo.githubusercontent.com/973996e2c4ce7ccfd000a3cd5cc8da4c8d9bae57ce32a7c6b504704f35b35c73/68747470733a2f2f706f7365722e707567782e6f72672f63726f6e6f782f63616b652d63726f6e2d6a6f62732f6c6963656e73652e737667)](https://packagist.org/packages/cronox/cake-cron-jobs)

Installation
============

[](#installation)

Composer
--------

[](#composer)

```
composer require cronox/cake-cron-jobs
```

Load the Plugin
---------------

[](#load-the-plugin)

Ensure the Plugin is loaded in your config/bootstrap.php file

```
Plugin::load('Cronox/CronJobs');
```

Database
--------

[](#database)

Init the database table by using cakephp's migrations

```
bin/cake migrations migrate --plugin Cronox/CronJobs
```

Example
=======

[](#example)

To add method `\App\Lib\Mailer::sendMail('cronox@example.com','Message text')` to cron queue:

```
try {
    CronJobHelper::create(\App\Lib\Mailer::class, 'sendMail', ['cronox@example.com','Message text']);
} catch (\Exception $exception) {
    throw $exception;
}
```

To run queue by cron add following line to crontab:

```
bin/cake cronox/cron_jobs.cron_jobs
```

Example output:

```
➜  www ✗ bin/cake cronox/cron_jobs.cron_jobs
Found 1 jobs.
Running job #5 App\Lib\Mailer::sendMail
Job is completed correctly
➜  www ✗
```

Grouped tasks
=============

[](#grouped-tasks)

```
try {
    $groupEmailCode = 'Email';
    $groupSMSCode = 'SMS';
    CronJobHelper::create(\App\Lib\Mailer::class, 'sendMail', ['cronox@example.com','Message text'], $groupEmailCode);
    CronJobHelper::create(\App\Lib\SmsApi::class, 'sendSMS', ['321654987','Message text'], $groupSMSCode);
} catch (\Exception $exception) {
    throw $exception;
}
```

To run grouped tasks by cron add following commands to crontab:

```
bin/cake cronox/cron_jobs.cron_jobs Email
bin/cake cronox/cron_jobs.cron_jobs SMS
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Total

2

Last Release

2525d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/911576045c7d4a9a9537ad6b6435f9a5054283194f7eb7be7fb9a9c43151782c?d=identicon)[cronox](/maintainers/cronox)

---

Top Contributors

[![cronox](https://avatars.githubusercontent.com/u/9032731?v=4)](https://github.com/cronox "cronox (7 commits)")

---

Tags

cakephpcroncakephp3cron jobs

###  Code Quality

Code StyleECS

### Embed Badge

![Health badge](/badges/cronox-cake-cron-jobs/health.svg)

```
[![Health](https://phpackages.com/badges/cronox-cake-cron-jobs/health.svg)](https://phpackages.com/packages/cronox-cake-cron-jobs)
```

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[markstory/asset_compress

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

3761.0M11](/packages/markstory-asset-compress)[dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

401.0M11](/packages/dereuromark-cakephp-shim)[cakedc/tiny-mce

TinyMCE Plugin for CakePHP

10790.2k](/packages/cakedc-tiny-mce)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

2988.9k3](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-geo

A CakePHP plugin around geocoding tools and helpers.

51174.9k4](/packages/dereuromark-cakephp-geo)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
