PHPackages                             voodoo-mobile/yii2-cron - 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. voodoo-mobile/yii2-cron

AbandonedYii2-module

voodoo-mobile/yii2-cron
=======================

Flexible cron tasks manager for MVC-type applications

v1.0.0(10y ago)81.9k↓100%5MITPHPPHP &gt;=5.3.2

Since Jan 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/voodoo-mobile/yii2-cron)[ Packagist](https://packagist.org/packages/voodoo-mobile/yii2-cron)[ Docs](https://cron.multimate.ru)[ RSS](/packages/voodoo-mobile-yii2-cron/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

PHP Cron tasks manager
======================

[](#php-cron-tasks-manager)

This is a flexible tasks manager designed for MVC-type applications. It's used instead of standard linux *crontab* command.

The purpose of this tool is to provide an easy way to manipulate repetitive tasks.

[Live Demo](https://cron.multimate.ru)

[![Build Status](https://camo.githubusercontent.com/d76af9fa264241f3a0bed2677cce4c050ebb0b8a2607f6971fdb9d58beef6a5d/68747470733a2f2f7472617669732d63692e6f72672f4d556c74316d6174652f63726f6e2d6d616e616765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MUlt1mate/cron-manager)[![Test Coverage](https://camo.githubusercontent.com/02f9271f7e8cca9a5aeb6129e99520be728a4513f048705ac575c135ce4bf3a4/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4d556c74316d6174652f63726f6e2d6d616e616765722f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/MUlt1mate/cron-manager/coverage)[![License](https://camo.githubusercontent.com/e498eead712d82d9ee1af0a4850acd2e46ea48c48fb9ce5a3d2ab64f28f95b34/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e737667)](http://doge.mit-license.org)

How this is works
-----------------

[](#how-this-is-works)

Replace all tasks in crontab file with one which will invoke method `TaskRunner::checkAndRunTasks()`.

Import tasks from current crontab file or add them manually. Active tasks will run one by one if current time matches with the task's time expression. Output of tasks can be handled. For each execution will be assigned status:

- **Success** if method returned `true`;
- **Error** if method returned `false` or an exception was caught;
- **Started** if task is running or wasn't ended properly.

### Features

[](#features)

- Works with any storage engines
- Flexible implementation with interfaces
- Disable, enable and run tasks through tool interface
- Handle tasks output however you want
- Time expression helper shows next run dates
- Monitor runs results
- Export and import tasks from crontab
- Add needed method for new task from dropdown

Installation
------------

[](#installation)

Install package via Composer

```
composer require voodoo-mobile/yii2-cron

```

### Requirements

[](#requirements)

- PHP 5.3 or above
- [mtdowling/cron-expression](https://github.com/mtdowling/cron-expression)

### Configure

[](#configure)

- Create tables if you want to store data in database (SQL queries in `DbHelper` class)
- Implement `TaskInterface` and `TaskRunInterface` or use predefined classes from the Example folder
- Copy and modify controller and views. Or create your own.
- Import tasks through interface or add them manually
- Add new line into crontab file that will invoke `TaskRunner::checkAndRunTasks()`
- Disable tasks that will be invoke through the manager
- Make sure that manager is not publicly available

Screenshots
-----------

[](#screenshots)

[![Tasks list](https://camo.githubusercontent.com/26a76d7cd2f30f7c47ba12bf0949f0b73f415a0221401c1290ccff6aa58794ef/68747470733a2f2f63726f6e2e6d756c74696d6174652e72752f696d672f53656c656374696f6e5f3030362e706e67)](https://camo.githubusercontent.com/26a76d7cd2f30f7c47ba12bf0949f0b73f415a0221401c1290ccff6aa58794ef/68747470733a2f2f63726f6e2e6d756c74696d6174652e72752f696d672f53656c656374696f6e5f3030362e706e67)[![Report](https://camo.githubusercontent.com/3e1d0618d8267d3f03ce65c991d0a3977264ead152e2a2d8aa1cfc593dc12e16/68747470733a2f2f63726f6e2e6d756c74696d6174652e72752f696d672f53656c656374696f6e5f3030382e706e67)](https://camo.githubusercontent.com/3e1d0618d8267d3f03ce65c991d0a3977264ead152e2a2d8aa1cfc593dc12e16/68747470733a2f2f63726f6e2e6d756c74696d6174652e72752f696d672f53656c656374696f6e5f3030382e706e67)[![Logs](https://camo.githubusercontent.com/88b42df3c832556d903bab165f3a6b2190f616dbc31c632f71a2e5f4b9551984/68747470733a2f2f63726f6e2e6d756c74696d6174652e72752f696d672f53656c656374696f6e5f3030372e706e67)](https://camo.githubusercontent.com/88b42df3c832556d903bab165f3a6b2190f616dbc31c632f71a2e5f4b9551984/68747470733a2f2f63726f6e2e6d756c74696d6174652e72752f696d672f53656c656374696f6e5f3030372e706e67)[![Import and export](https://camo.githubusercontent.com/b71da201c6bf47a492e4eb999ac97e02362de0e22235a1f9be51bb02f702e2c3/68747470733a2f2f63726f6e2e6d756c74696d6174652e72752f696d672f53656c656374696f6e5f3030332e706e67)](https://camo.githubusercontent.com/b71da201c6bf47a492e4eb999ac97e02362de0e22235a1f9be51bb02f702e2c3/68747470733a2f2f63726f6e2e6d756c74696d6174652e72752f696d672f53656c656374696f6e5f3030332e706e67)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~10 days

Total

4

Last Release

3747d ago

Major Versions

v0.2.0 → v1.0.02016-02-07

PHP version history (2 changes)v0.1.0PHP &gt;=5.4.0

v0.2.0PHP &gt;=5.3.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/690fe9c695b36c27b53c0cf0f847579f7dc34d438eba2b42fc6f459e27253ef5?d=identicon)[voodoo-rocks](/maintainers/voodoo-rocks)

---

Top Contributors

[![MUlt1mate](https://avatars.githubusercontent.com/u/1782485?v=4)](https://github.com/MUlt1mate "MUlt1mate (47 commits)")

---

Tags

codeignitercronscheduleyiicrontabtasks manager

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/voodoo-mobile-yii2-cron/health.svg)

```
[![Health](https://phpackages.com/badges/voodoo-mobile-yii2-cron/health.svg)](https://phpackages.com/packages/voodoo-mobile-yii2-cron)
```

###  Alternatives

[mult1mate/cron-manager

Flexible cron tasks manager for MVC-type applications

40338.5k3](/packages/mult1mate-cron-manager)[orisai/scheduler

Cron job scheduler - with locks, parallelism and more

4037.1k4](/packages/orisai-scheduler)[fedemotta/yii2-cronjob

Yii2 extension to help in the creation of automated console scripts

2233.5k](/packages/fedemotta-yii2-cronjob)[yii2mod/yii2-scheduling

Scheduling extension for Yii2 framework

1630.2k1](/packages/yii2mod-yii2-scheduling)

PHPackages © 2026

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