【文件属性】:
文件名称:cron-bundle:此捆绑包提供了一个简单的界面,用于在应用程序中注册重复的计划任务
文件大小:64KB
文件格式:ZIP
更新时间:2021-05-30 06:08:38
schedule cron-jobs PHP
Shapecode - Cron 包
这个包提供了一个简单的界面,用于在您的应用程序中注册重复的计划任务。
安装说明
可以通过以下简单步骤安装此包:
通过 composer 将包添加到您的项目中:
composer require shapecode/cron-bundle
如果它 flex 没有为你做,请将包添加到你的配置中:
<?php
// config/bundles.php
return [
// ...
Shapecode \ Bundle \ CronBundle \ ShapecodeCronBundle ::class,
// ...
];
更新您的数据库架构...
... 使用 Doctrine 架构更新方法 ...
php bin/console doctrine:schema:update --force
创建自己的任务
使
【文件预览】:
cron-bundle-master
----composer.json(4KB)
----phpunit.xml(419B)
----docs()
--------_config.yml(26B)
--------README.md(6KB)
----composer.lock(266KB)
----.github()
--------FUNDING.yml(605B)
--------workflows()
----phpcs.xml(1KB)
----tests()
--------bootstrap.php(111B)
--------Manager()
--------Service()
--------Fixtures()
--------Command()
--------Annotation()
----composer-require-checker.json(293B)
----LICENSE(1KB)
----src()
--------Manager()
--------EventListener()
--------DependencyInjection()
--------Service()
--------Entity()
--------ShapecodeCronBundle.php(584B)
--------Event()
--------Model()
--------Resources()
--------Command()
--------Annotation()
--------Console()
--------Controller()
--------Repository()
----.gitignore(57B)
----phpstan.neon(684B)
----.editorconfig(217B)