diff --git a/src/GO/Job.php b/src/GO/Job.php index b666930..70f5b82 100644 --- a/src/GO/Job.php +++ b/src/GO/Job.php @@ -587,4 +587,16 @@ public function then(callable $fn, $runInBackground = false) return $this; } + + /** + * @return Cron\CronExpression + */ + public function getExecutionTime() + { + if (! $this->executionTime) { + return Cron\CronExpression::factory('* * * * *'); + } + + return $this->executionTime; + } }