bkwld / craft-webhook-scheduler
检查待处理的条目,以便在发布后能够向webhook发送。
1.1.0
2023-03-15 18:43 UTC
Requires
- craftcms/cms: ^3.0 || ^4.0
Requires (Dev)
- craftcms/rector: dev-main
This package is auto-updated.
Last update: 2024-09-15 21:48:58 UTC
README
这是一个Craft插件,当计划发布的帖子变为活动状态时,会触发webhook。
需求
此插件需要Craft CMS 3或4
安装
要安装此插件,请按照以下说明操作。
-
打开您的终端并转到您的Craft项目
cd /path/to/project
-
然后告诉Composer加载插件
composer require bkwld/craft-webhook-scheduler
-
添加到Crontab
* * * * * /usr/bin/php /path-to-project/craft craft-webhook-scheduler/default
- 在控制面板中,转到设置 → 插件,然后点击craft-webhook-scheduler的“安装”按钮。
配置craft-webhook-scheduler
在/admin/craft-webhook-scheduler中为相应的站点添加webhook
由Bukwild提供