大麦快扩展 / scheduling
daimakuai-ext的任务调度扩展
v1.0.0
2018-08-26 02:28 UTC
Requires
- php: >=7.0.0
- jblv/daimakuai: >=1.0.0
- laravel/framework: 5.5.*
Requires (Dev)
- laravel/laravel: 5.*
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2024-09-29 03:41:50 UTC
README
A web interface for manage task scheduling in laravel.
屏幕截图
安装
$ composer require daimakuai-ext/scheduling
$ php artisan admin:import scheduling
打开 http://your-host/admin/scheduling.
在 app/Console/Kernel.php 中尝试添加如下调度任务
class Kernel extends ConsoleKernel { protected function schedule(Schedule $schedule) { $schedule->command('inspire')->everyTenMinutes(); $schedule->command('route:list')->dailyAt('02:00'); } }
您可以在调度面板中找到这些任务。
许可
根据 MIT 许可证 (MIT) 许可。
