diff --git a/src/Illuminate/Console/Scheduling/CallbackEvent.php b/src/Illuminate/Console/Scheduling/CallbackEvent.php index 4d0a8b6edd2f..7db7e1fe266a 100644 --- a/src/Illuminate/Console/Scheduling/CallbackEvent.php +++ b/src/Illuminate/Console/Scheduling/CallbackEvent.php @@ -101,6 +101,8 @@ public function withoutOverlapping() "A scheduled event name is required to prevent overlapping. Use the 'name' method before 'withoutOverlapping'." ); } + + $this->withoutOverlapping = true; return $this->skip(function () { return $this->mutex->exists($this);