We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e1e78 commit ea2caf9Copy full SHA for ea2caf9
1 file changed
src/Tasks/Task.php
@@ -98,7 +98,8 @@ public function registerMissedExecution(Carbon $now)
98
public function registerNextExecution(Carbon $now)
99
{
100
$cron = CronExpression::factory($this->expression);
101
- $this->next_execution_at = Carbon::instance($cron->getNextRunDate($now));
+ $next_time = $now->copy()->addSecond();
102
+ $this->next_execution_at = Carbon::instance($cron->getNextRunDate($next_time));
103
}
104
105
public function delete()
0 commit comments