PHPackages                             mult1mate/cron-manager - 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. mult1mate/cron-manager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mult1mate/cron-manager
======================

Flexible cron tasks manager for MVC-type applications

v1.1.2(8y ago)40338.5k↓29.4%68[8 issues](https://github.com/MUlt1mate/cron-manager/issues)3MITPHPPHP &gt;=5.3.2

Since Jan 6Pushed 4y ago23 watchersCompare

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

READMEChangelog (8)Dependencies (3)Versions (9)Used By (3)

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.

[![Build Status](https://camo.githubusercontent.com/d76af9fa264241f3a0bed2677cce4c050ebb0b8a2607f6971fdb9d58beef6a5d/68747470733a2f2f7472617669732d63692e6f72672f4d556c74316d6174652f63726f6e2d6d616e616765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MUlt1mate/cron-manager)[![Code Climate](https://camo.githubusercontent.com/0af0673f627bb84b94822188176dee191c0d5dc32797840b19ebe2ccb2361940/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4d556c74316d6174652f63726f6e2d6d616e616765722f6261646765732f6770612e737667)](https://codeclimate.com/github/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)[![Gitter](https://camo.githubusercontent.com/5a75e4af5d9814d91204133bf1af12e2f88405ea4150177580154a8a8fdce893/68747470733a2f2f6261646765732e6769747465722e696d2f4d556c74316d6174652f63726f6e2d6d616e616765722e737667)](https://gitter.im/MUlt1mate/cron-manager)

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 mult1mate/cron-manager

```

### 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

See also examples for [ActiveRecord](https://github.com/MUlt1mate/cron-manager/tree/master/examples/active_record), [CodeIgniter](https://github.com/MUlt1mate/cron-manager/tree/master/examples/codeigniter), [Yii2](https://github.com/MUlt1mate/cron-manager/tree/master/examples/yii2_basic), [File storage](https://github.com/MUlt1mate/cron-manager/tree/master/examples/file_storage)

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)

Changelog
---------

[](#changelog)

- v1.1.0 - File storage models added

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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 ~74 days

Recently: every ~122 days

Total

8

Last Release

3262d 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/ad047dfaa0ef8b392df9cfd91cfb4d0861c9576ea5fbefce0858ed35e368df13?d=identicon)[MUlt1mate](/maintainers/MUlt1mate)

---

Top Contributors

[![MUlt1mate](https://avatars.githubusercontent.com/u/1782485?v=4)](https://github.com/MUlt1mate "MUlt1mate (60 commits)")[![poursadeqi](https://avatars.githubusercontent.com/u/5708835?v=4)](https://github.com/poursadeqi "poursadeqi (2 commits)")[![Swader](https://avatars.githubusercontent.com/u/1430603?v=4)](https://github.com/Swader "Swader (1 commits)")

---

Tags

codeignitercron-managercrontabtask-managertask-runnertask-scheduleryiicronschedulecrontabtasks manager

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mult1mate-cron-manager/health.svg)

```
[![Health](https://phpackages.com/badges/mult1mate-cron-manager/health.svg)](https://phpackages.com/packages/mult1mate-cron-manager)
```

###  Alternatives

[dragonmantank/cron-expression

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due

4.7k474.1M487](/packages/dragonmantank-cron-expression)[symfony/scheduler

Provides scheduling through Symfony Messenger

8910.8M52](/packages/symfony-scheduler)

PHPackages © 2026

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