src/Plugin/Schedule/Sensor.php
public function getNextBuildTime(BuildInterface $lastJob = null)
    {
        if (file_exists($this->file)) {
            unlink($this->file);

            return time();
        }

        return null;
    }
public function getNextBuildTime(BuildInterface $lastJob = null)
    {
        if (file_exists($this->file)) {
            unlink($this->file);

            return time();
        }

        return null;
    }
public function getNextBuildTime ( BuildInterface $ lastJob = null ) { if ( file_exists ( $ this -> file ) ) { unlink ( $ this -> file ) ; return time ( ) ; } return null ; }
Calculates the real next job runtime dependend on lastJob.

@param Xinc::Core::Build::BuildInterface $lastJob

@return int next job runtime as timestamp
Calculates the real next job runtime dependend on lastJob .