PHPackages                             cshaptx4869/http-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. [HTTP &amp; Networking](/categories/http)
4. /
5. cshaptx4869/http-crontab

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cshaptx4869/http-crontab
========================

接口化定时任务管理

v2.0.1(3y ago)112.1k↓33.3%5Apache-2.0PHPPHP &gt;=7.0.0

Since Jan 14Pushed 3y ago2 watchersCompare

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

READMEChangelogDependencies (4)Versions (4)Used By (0)

接口化秒级定时任务
=========

[](#接口化秒级定时任务)

概述
--

[](#概述)

基于 **Workerman** + **MySQL** 的接口化秒级定时任务管理，兼容 Windows 和 Linux 系统。

定时器格式说明
-------

[](#定时器格式说明)

```
0   1   2   3   4   5
|   |   |   |   |   |
|   |   |   |   |   +------ day of week (0 - 6) (Sunday=0)
|   |   |   |   +------ month (1 - 12)
|   |   |   +-------- day of month (1 - 31)
|   |   +---------- hour (0 - 23)
|   +------------ min (0 - 59)
+-------------- sec (0-59)[可省略，如果没有0位,则最小时间粒度是分钟]

```

简单使用
----

[](#简单使用)

- **新建 run.php**

```
