Skip to content

Commit

Permalink
Added timestamp reference to schedule:work artisan command output (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
eusonlito authored Mar 16, 2021
1 parent a7ec58e commit 52edf7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Console/Scheduling/ScheduleWorkCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function handle()

if (! empty($output)) {
if ($key !== $keyOfLastExecutionWithOutput) {
$this->info(PHP_EOL.'Execution #'.($key + 1).' output:');
$this->info(PHP_EOL.'['.date('c').'] Execution #'.($key + 1).' output:');

$keyOfLastExecutionWithOutput = $key;
}
Expand Down

0 comments on commit 52edf7d

Please sign in to comment.