/** * @param Job $job */ public function saving(Job $job) { if ($job->isDirty('interval', 'crontime', 'last_run')) { $job->setNextRun(); } }