-
-
Notifications
You must be signed in to change notification settings - Fork 208
Open
Description
I cannot seem to get scheduler to register any commands, it also seems like it happens on a fresh install
Reproducing Steps
Following the install instructions on the docs:
composer create-project --prefer-dist laravel-zero/laravel-zero movie-cli
Make command to test with:
cd movie-cli && php application make:command ExampleCommand
Add schedule on the command:
/**
* Define the command's schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
public function schedule(Schedule $schedule): void
{
$schedule->command(static::class)->everyMinute();
}
Listing schedule shows it has not been registered:
php application schedule:list
# No scheduled tasks have been defined.
Unsure if this is a bug or if im just missing something?
sebastiaanluca
Metadata
Metadata
Assignees
Labels
No labels