laravel-admin-ext/scheduling

Task scheduling extension for laravel-admin

v1.2 2021-10-11 09:17 UTC

This package is auto-updated.

Last update: 2024-11-11 15:59:45 UTC


README

StyleCI Packagist Total Downloads Pull request welcome

A web interface for manage task scheduling in laravel.

Documentation | 中文文档

Screenshot

wx20170810-101048

Installation

$ composer require laravel-admin-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).