iwzh/owl-scheduling

OwlAdmin扩展:方便管理 laravel 的定时任务

1.0.2 2023-05-12 02:57 UTC

This package is auto-updated.

Last update: 2024-05-12 05:24:20 UTC


README

一个在 owl-admin 中 显示 laravel 任务调度的包

修改 laravel admin 的 scheduling 扩展,使其支持owl admin https://github.com/laravel-admin-extensions/scheduling

Installation

composer require iwzh/owl_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');
    }
}

img.png