dedermus / scheduling
Task scheduling extension for Laravel open-admin-core
Installs: 171
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 3
pkg:composer/dedermus/scheduling
Requires
- php: ^8.2
- dedermus/open-admin-core: ^v2.0
Requires (Dev)
- laravel/laravel: ~5.5
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2026-02-05 14:53:51 UTC
README
A web interface for manage task scheduling in laravel.
Screenshot
Installation
$ composer require dedermus/scheduling
$ php artisan admin:import scheduling
enter to terminal: php artisan make:provider ScheduleCommandProvider
Open app/Providers/ScheduleCommandProvider.php.
Add method registerScheduledCommands()
/**
* Register scheduled commands from routes/console.php.
*
* @return void
*/
protected function registerScheduledCommands()
{
app()->make('Illuminate\Contracts\Console\Kernel');
$events = app()->make('Illuminate\Console\Scheduling\Schedule');
// Load the routes/console.php file
$consoleRoutes = base_path('/routes/console.php');
if (File::exists($consoleRoutes)) {
require $consoleRoutes;
}
}
add modify method boot()
$this->registerScheduledCommands();
Open file bootstrap/providers.php and add provider
App\Providers\ScheduleCommandProvider::class,
Open http://your-host/admin/scheduling.
Try to add a scheduling task in routes/console.php like this:
Schedule::command('inspire')->everyTenMinutes()->runInBackground();
Schedule::command('route:list')->dailyAt('02:00');
Add use use Illuminate\Support\Facades\Schedule;
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).
