Skip to content

Commit c159f8d

Browse files
committed
Adds Laravel Scheduling commands.
Loads the various commands into the kernel. Adds dragonmantank/cron-expression dependency.
1 parent e7a15b8 commit c159f8d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"php": ">=8.2",
4646
"ext-json": "*",
4747
"ext-mbstring": "*",
48+
"dragonmantank/cron-expression": "^3.4",
4849
"guzzlehttp/guzzle": "^7.8",
4950
"illuminate/cache": "^11.0",
5051
"illuminate/config": "^11.0",

src/Roots/Acorn/Console/Kernel.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ class Kernel extends FoundationConsoleKernel
3737
\Illuminate\Queue\Console\FailedTableCommand::class,
3838
\Illuminate\Queue\Console\TableCommand::class,
3939
\Illuminate\Queue\Console\WorkCommand::class,
40+
\Illuminate\Queue\Console\ClearCommand::class,
41+
\Illuminate\Console\Scheduling\ScheduleListCommand::class,
42+
\Illuminate\Console\Scheduling\ScheduleRunCommand::class,
43+
\Illuminate\Console\Scheduling\ScheduleWorkCommand::class,
44+
\Illuminate\Console\Scheduling\ScheduleTestCommand::class,
45+
\Illuminate\Console\Scheduling\ScheduleInterruptCommand::class,
4046
\Illuminate\Routing\Console\ControllerMakeCommand::class,
4147
\Illuminate\Routing\Console\MiddlewareMakeCommand::class,
4248
\Roots\Acorn\Console\Commands\AboutCommand::class,

0 commit comments

Comments
 (0)