PHPackages                             vasadibt/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vasadibt/yii2-cron

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

vasadibt/yii2-cron
==================

Create Cron jobs from browser, and look that run logs

1.0.5(6y ago)91.3k7[1 issues](https://github.com/vasadibt/yii2-cron/issues)[1 PRs](https://github.com/vasadibt/yii2-cron/pulls)MITPHPCI failing

Since Apr 29Pushed 5y ago2 watchersCompare

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

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

Yii2 Cron job Manager
=====================

[](#yii2-cron-job-manager)

Create Cron jobs from browser, and look that run logs

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist vasadibt/yii2-cron "*"

```

or add

```
"vasadibt/yii2-cron": "*"

```

to the require section of your `composer.json` file.

### Migration

[](#migration)

Run the following command in Terminal for database migration:

```
yii migrate/up --migrationPath=@vasadibt/cron/migrations

```

Or use the [namespaced migration](http://www.yiiframework.com/doc-2.0/guide-db-migrations.html#namespaced-migrations) (requires at least Yii 2.0.10):

```
// Add namespace to console config:
'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationPath' => [
            '@vasadibt/cron/migrations',
        ],
    ],
],
```

Then run:

```
yii migrate/up

```

### Web Application Config

[](#web-application-config)

Turning on the Cron Job Manager Module in the web application:

Simple example:

```
'modules' => [
    'cron' => [
        'class' => 'vasadibt\cron\Module',
    ],
],
```

### Console Application Config

[](#console-application-config)

Turning on the Cron Job Manager Module in the console application:

Simple example:

```
'modules' => [
    'cron' => [
        'class' => 'vasadibt\cron\Module',
    ],
],
```

### Schedule Config

[](#schedule-config)

Set the server schedule to run the following command

On Linux:

Add to the crontab with the user who you want to run the script (possibly not root) with the `crontab -e` command or by editing the `/etc/crontab` file

```
* * * * * /yii cron/cron/run 2>&1
```

On Windows:

Open the task scheduler and create a new task

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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 ~73 days

Recently: every ~92 days

Total

6

Last Release

2200d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bd772ac033b1b9bb80d456c9756d4c7be31d9cd1e372aee460c3b39f1d98698e?d=identicon)[vasadibt](/maintainers/vasadibt)

---

Top Contributors

[![fullmvc](https://avatars.githubusercontent.com/u/45456263?v=4)](https://github.com/fullmvc "fullmvc (12 commits)")[![vasadibt](https://avatars.githubusercontent.com/u/9213794?v=4)](https://github.com/vasadibt "vasadibt (9 commits)")[![honsa](https://avatars.githubusercontent.com/u/526006?v=4)](https://github.com/honsa "honsa (1 commits)")

---

Tags

cronscheduleyii2extensionmodule

### Embed Badge

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

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

###  Alternatives

[onmotion/yii2-telegram

Support chat for site based on Telegram bot

526.3k](/packages/onmotion-yii2-telegram)[kriss/yii2-calendar-schedule

Yii2 Calendar Schedule

107.9k](/packages/kriss-yii2-calendar-schedule)

PHPackages © 2026

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