daimakuai-ext/scheduling

Task scheduling extension for daimakuai-ext

v1.0.0 2018-08-26 02:28 UTC

This package is not auto-updated.

Last update: 2024-11-24 04:32:13 UTC


README

A web interface for manage task scheduling in laravel.

Screenshot

wx20170810-101048

Installation

$ composer require daimakuai-ext/scheduling


$ php artisan admin:import scheduling

Open http://your-host/admin/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');
    }
}

And you can find these tasks in scheduling panel.

License

Licensed under The MIT License (MIT).