open-admin-ext/scheduling

Task scheduling extension for open-admin

v1.0.0 2022-02-10 23:40 UTC

This package is auto-updated.

Last update: 2024-10-29 06:31:05 UTC


README

StyleCI Packagist Total Downloads Pull request welcome

A web interface for manage task scheduling in laravel.

Documentation

Screenshot

extention-schedualing

Installation

$ composer require open-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.

Debugging

If console shows errors like: sh: : command not found Try adding this your .env file: PHP_BINARY=/path/to/your/php/binaray/

License

Licensed under The MIT License (MIT).