PHPackages                             17734027950/php-crontab - 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. 17734027950/php-crontab

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

17734027950/php-crontab
=======================

定时计划 支持Win/Linux

v1.0.0(8y ago)023Apache-2.0PHP

Since Jan 23Pushed 8y agoCompare

[ Source](https://github.com/17734027950/php-crontab)[ Packagist](https://packagist.org/packages/17734027950/php-crontab)[ RSS](/packages/17734027950-php-crontab/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

php-crontab
===========

[](#php-crontab)

PHP计划任务工具与服务器crontab一样的命令方式,无需重启执行任务。 解决win下无法直接使用crontab和增强linux crontab无秒级别执行控制。

PHP crontab 使用方法：

1.在config.ini中配置要执行的计划任务

```
配置示例
        run_time = */2 */1 * * * *  (执行周期： 秒 分 时 日 月 周)

        cd_dir = /root/test/ (脚本所在目录，建议绝对路径)

        common = php demo.php (待执行的命令)

        log_dir = /root/log/demo.log (脚本输出日志文件，建议绝对路径)

```

2.在php-cli窗口执行run.php

3.常用计划任务周期示例:待补

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3080d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28560953?v=4)[yangchi](/maintainers/17734027950)[@17734027950](https://github.com/17734027950)

---

Top Contributors

[![17734027950](https://avatars.githubusercontent.com/u/28560953?v=4)](https://github.com/17734027950 "17734027950 (3 commits)")

### Embed Badge

![Health badge](/badges/17734027950-php-crontab/health.svg)

```
[![Health](https://phpackages.com/badges/17734027950-php-crontab/health.svg)](https://phpackages.com/packages/17734027950-php-crontab)
```

###  Alternatives

[tokenly/laravel-vault

A Laravel interface for Hashicorp Vault

1717.3k](/packages/tokenly-laravel-vault)

PHPackages © 2026

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