public function withoutOverlapping(): CronContract
    {
        if ($this->description === null) {
            throw new LogicException(
                'A scheduled cron job description is required to prevent overlapping. ' .
                "Use the 'setDescription' method before 'withoutOverlapping'."
            );
        }

        return $this->skip(function () {
            return $this->cachePool->hasItem($this->getMutexName());
        });
    }
public function withoutOverlapping(): CronContract
    {
        if ($this->description === null) {
            throw new LogicException(
                'A scheduled cron job description is required to prevent overlapping. ' .
                "Use the 'setDescription' method before 'withoutOverlapping'."
            );
        }

        return $this->skip(function () {
            return $this->cachePool->hasItem($this->getMutexName());
        });
    }
public function withoutOverlapping ( ) : CronContract { if ( $ this -> description === null ) { throw new LogicException ( 'A scheduled cron job description is required to prevent overlapping. ' . "Use the 'setDescription' method before 'withoutOverlapping'." ) ; } return $ this -> skip ( function ( ) { return $ this -> cachePool -> hasItem ( $ this -> getMutexName ( ) ) ; } ) ; }
Do not allow the cron job to overlap each other.

@throws \Viserio\Component\Contract\Cron\Exception\LogicException

@return \Viserio\Component\Contract\Cron\Cron
Do not allow the cron job to overlap each other .