PHPackages                             wowthink/yii2-crond - 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. wowthink/yii2-crond

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

wowthink/yii2-crond
===================

crond

05PHP

Since Jun 6Pushed 7y agoCompare

[ Source](https://github.com/wowthink/yii2-crond)[ Packagist](https://packagist.org/packages/wowthink/yii2-crond)[ RSS](/packages/wowthink-yii2-crond/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-crond
==========

[](#yii2-crond)

安装方式
----

[](#安装方式)

[Composer](http://getcomposer.org/download/)

运行

```
composer require --prefer-dist wowthink/yii2-crond

```

或者

直接下载归档 进行配置

`common/config/mian.php`

```
    'aliases' => [
        'wowthink/crond' => '.../yii2-crond/src',
    ]
```

用法
--

[](#用法)

安装扩展后，只需在代码中使用它 :

配置后台显示 `backend/config/mian.php`

```
    'modules' => [
        'crond' => [
            'class' => 'wowthink\crond\Module',
        ],
    ],
```

配置命令行 `console/config/mian-local.php`

```
    'bootstrap' => ['crond'],
    'modules' => [
        'crond' => [
            'class' => 'wowthink\crond\Module',
            'php_path' => '/usr/bin/php', //默认php
            'yii_path' => '/home/wwwroot/base/yii', //默认yii
        ],
    ],
```

执行migrate `php yii migrate --migrationPath=@wowthink/crond/migrations`

启动定时任务 `php yii crond/run`

默认进入后台地址：/crond/index/index [![avatar](create_crond.png)](create_crond.png)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/18f508c62a0d12f345703c3918397a2eefcd46322bcfe56e8fce3be61edd375a?d=identicon)[NiceTT](/maintainers/NiceTT)

---

Top Contributors

[![nicett](https://avatars.githubusercontent.com/u/11865868?v=4)](https://github.com/nicett "nicett (1 commits)")[![zas4exd](https://avatars.githubusercontent.com/u/12696520?v=4)](https://github.com/zas4exd "zas4exd (1 commits)")

### Embed Badge

![Health badge](/badges/wowthink-yii2-crond/health.svg)

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

###  Alternatives

[chemem/bingo-functional

A simple functional programming library.

687.0k3](/packages/chemem-bingo-functional)

PHPackages © 2026

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