dagasmart / scheduling
方便管理 laravel 的定时任务
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/dagasmart/scheduling
Requires
- php: >=8.0
- dagasmart/bizadmin: *
README
一个显示 laravel 任务调度的包
修改 laravel admin 的 scheduling 扩展,使其支持bizadmin https://github.com/laravel-admin-extensions/scheduling
Installation
composer require dagasmart/scheduling
Try to add a scheduling task in app/Console/Kernel.php like this:
class Kernel extends ConsoleKernel { protected function schedule(Schedule $schedule) { $schedule->command('inspire')->everyTenMinutes(); $schedule->command('route:list')->dailyAt('02:00'); } }