panlatent/schedule
最新稳定版本:0.6.2
Composer 安装命令:
composer require panlatent/schedule
包简介
Schedule plugin for CraftCMS
README 文档
README
Manage your CraftCMS application schedules in Cp. Run a command, trigger an event, push a queue task, or send HTTP requests at a specified time. You can flexibly customize the trigger time and even design your schedule type.
Requirements
This plugin requires Craft CMS 3.1 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require panlatent/schedule -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Schedule.
-
Add a record to system crontab:
* * * * * php /path/to/craft schedules/run 1>> /dev/null 2>&1Or use built-in
schedules/listencommand:$ ./craft schedules/listen
If you use DDEV:
$ ddev craft schedules/listen
Usage
For the command line we support some actions and options:
Delete logs
craft schedules/clear-logs [interval]
Delete all logs
craft schedules/clear-logs --all
Run schedules asynchronously:
craft schedules/run --async craft schedules/listen --async
Listen all active timer events with clear log:
craft schedules/listen --with-clear-log
Documentation
Read more about it, including install instructions, in the official documentation.
License
The Schedule is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 33.55k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-17