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

ActiveYii2-extension

fullmvc/yii2-cron
=================

Create Cron jobs from browser, and look that run logs

1.0.6(5y ago)01MITPHP

Since Apr 29Pushed 5y agoCompare

[ Source](https://github.com/fullmvc/yii2-cron)[ Packagist](https://packagist.org/packages/fullmvc/yii2-cron)[ RSS](/packages/fullmvc-yii2-cron/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (8)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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 69.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 ~63 days

Recently: every ~93 days

Total

7

Last Release

2186d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45456263?v=4)[Sándor Gál](/maintainers/fullmvc)[@fullmvc](https://github.com/fullmvc)

---

Top Contributors

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

---

Tags

cronscheduleyii2extensionmodule

### Embed Badge

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

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

###  Alternatives

[fedemotta/yii2-cronjob

Yii2 extension to help in the creation of automated console scripts

2233.5k](/packages/fedemotta-yii2-cronjob)[lowbase/yii2-user

Yii2 user module

131.5k2](/packages/lowbase-yii2-user)[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)
