laravel-admin-extensions / laravel-admin-extensions/scheduling
Scheduling not work at admin panel
- Dominant language
- PHP
- Stars
- 92
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
```php
command('inspire')->everyTenMinutes();
// $schedule->runTask(1);
$schedule->command('route:list')->everyTenMinutes();
}
}
```
This code not work, and task is not shown at schedule view. At Documentation noone said nothing about imports, and what to do with this code. Maybe some bootstrap.php code missing, but I have not info what to do.
Command php artisan schedule:run shows schedulings, but not at admin panel:

Do not shows schedulings from project/app/Console/Kernel.php, but from project/routes/console.php:
```php
comment(Inspiring::quote());
})->purpose('Display an inspiring quote')->hourly();
Schedule::command('inspire')->everyFiveSeconds();
```
Those schedulings is shown by php artisan schedule:run or list. But those commads are not visible at admin panel, like at documentation of this extension.
Saddly documentation not show what to import to class Kernel. Maybe wrong location? Or maybe docker makes, that I have to put this class at another localization?
Ps. I have added to routes/console.php class Kernel like above, but this is not work too.
Ps It is OpenAdmin, but this is only a fork from your extension. Works the same, but not works at all.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing app/Console/Kernel.php with routes/console.php and run php artisan schedule:run or schedule:list to confirm which schedules Laravel discovers. Then trace how the admin schedule view gathers tasks and whether it includes schedules registered in Kernel.php. Done means the documented Kernel.php scheduling example appears in the admin panel as well as the routes/console.php schedules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100