48 lines
1.5 KiB
Markdown
48 lines
1.5 KiB
Markdown
Scheduling task manager for laravel-admin
|
|
============================
|
|
|
|
[](https://styleci.io/repos/99676857)
|
|
[](https://packagist.org/packages/laravel-admin-ext/scheduling)
|
|
[](https://packagist.org/packages/laravel-admin-ext/scheduling)
|
|
[]()
|
|
|
|
A web interface for manage task scheduling in laravel.
|
|
|
|
[Documentation](http://laravel-admin.org/docs/#/en/extension-scheduling) | [中文文档](http://laravel-admin.org/docs/#/zh/extension-scheduling)
|
|
|
|
## Screenshot
|
|
|
|

|
|
|
|
## 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:
|
|
|
|
```php
|
|
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)](LICENSE).
|