没有合适的资源?快使用搜索试试~ 我知道了~
TaskSchedulerBundle:CRON for Symfony的任务计划程序
共35个文件
php:28个
xml:1个
license:1个
需积分: 9 0 下载量 62 浏览量
2021-05-05
19:59:02
上传
评论
收藏 27KB ZIP 举报
温馨提示
任务计划程序包 使用作业移植的Symfony应用程序的任务计划程序,可让您定期运行任务。 要求 为了使该捆绑包正常工作,您必须能够在服务器上定义CRON作业。 安装 首先将捆绑包添加到您的composer.json中: composer require rewieer/taskschedulerbundle Symfony Flex将自动为您启用该捆绑软件。 如果尚未使用Flex,请将捆绑包添加到AppKernel.php中: // in AppKernel::registerBundles() $ bundles = array ( // ... new Rewieer \ TaskSchedulerBundle \ RewieerTaskSchedulerBundle (), // ... ); 您已准备好开始计划! 用法 首先,将以下行添加到CRON选项
资源推荐
资源详情
资源评论
收起资源包目录
TaskSchedulerBundle-master.zip (35个子文件)
TaskSchedulerBundle-master
Command
ListCommand.php 2KB
RunCommand.php 1KB
.gitignore 120B
Event
EventSubscriberInterface.php 503B
EventDispatcher.php 1KB
Services
SchedulerLogger.php 2KB
Resources
config
services.xml 1KB
LICENSE 1KB
composer.json 708B
.github
workflows
tests.yml 2KB
RewieerTaskSchedulerBundle.php 709B
README.md 3KB
Task
TaskInterface.php 635B
Schedule.php 3KB
AbstractScheduledTask.php 1KB
SchedulerEvents.php 647B
Scheduler.php 2KB
DependencyInjection
Configuration.php 939B
Compiler
EventDispatcherPass.php 978B
TaskPass.php 942B
RewieerTaskSchedulerExtension.php 976B
phpunit.xml.dist 712B
Tests
Command
RunCommandTest.php 2KB
ListCommandTest.php 2KB
Event
DummySubscriber.php 403B
EventDispatcherTest.php 646B
EventSubscriberMock.php 1KB
Task
ScheduleTest.php 3KB
Task.php 452B
ScheduledTask.php 477B
SchedulerTest.php 2KB
DependencyInjection
Compiler
TaskPassTest.php 1KB
EventDispatcherPassTest.php 1KB
ContainerAwareTest.php 789B
TaskMock.php 631B
共 35 条
- 1
资源评论
小小鹊
- 粉丝: 34
- 资源: 4534
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功