Skip to content

Commit e46834b

Browse files
committed
fix: schedule
1 parent 3d13b50 commit e46834b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
Integration::handles($exceptions);
4747
})
4848
->withSchedule(function (Schedule $schedule) {
49-
if (! app()->runningConsoleCommand('schedule:run')) {
49+
if (! app()->runningConsoleCommand('schedule:run') && ! app()->runningConsoleCommand('schedule:work')) {
5050
return;
5151
}
5252

0 commit comments

Comments
 (0)