Model/Job.php
public function getExecutionTime()
    {
        $terminationTimestamp = $this->terminatedAt == null ? time() : $this->terminatedAt->format('U');

        return $terminationTimestamp - $this->createdAt->format('U');
    }
public function getExecutionTime()
    {
        $terminationTimestamp = $this->terminatedAt == null ? time() : $this->terminatedAt->format('U');

        return $terminationTimestamp - $this->createdAt->format('U');
    }
{@inheritdoc}