Skip to content

Commit 042f3f5

Browse files
authored
Laravel recipe: add task to run artisan schedule:interrupt (#4071)
Signed-off-by: Lorenz Bausch <info@lorenzbausch.de>
1 parent 66a168a commit 042f3f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

recipe/laravel.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,13 @@ function laravel_version_compare($version, $comparator)
208208
desc('Publish all of the Horizon resources');
209209
task('artisan:horizon:publish', artisan('horizon:publish'));
210210

211+
/*
212+
* Scheduler.
213+
*/
214+
215+
desc('Interrupt in-progress schedule:run invocations');
216+
task('artisan:schedule:interrupt', artisan('schedule:interrupt'));
217+
211218
/*
212219
* Telescope.
213220
*/

0 commit comments

Comments
 (0)