File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/Illuminate/Console/Scheduling Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ class ScheduleWorkCommand extends Command
1818 *
1919 * @var string
2020 */
21- protected $ signature = 'schedule:work {--run-output-file= : The file to direct <info>schedule:run</info> output to} ' ;
21+ protected $ signature = 'schedule:work
22+ {--run-output-file= : The file to direct <info>schedule:run</info> output to}
23+ {--whisper : Do not output message indicating that no jobs were ready to run} ' ;
2224
2325 /**
2426 * The console command description.
@@ -43,6 +45,10 @@ public function handle()
4345
4446 $ command = Application::formatCommandString ('schedule:run ' );
4547
48+ if ($ this ->option ('whisper ' )) {
49+ $ command .= ' --whisper ' ;
50+ }
51+
4652 if ($ this ->option ('run-output-file ' )) {
4753 $ command .= ' >> ' .ProcessUtils::escapeArgument ($ this ->option ('run-output-file ' )).' 2>&1 ' ;
4854 }
You can’t perform that action at this time.
0 commit comments