execute(); $entity->updateExecutionTime(); Log::write("DiffPrice: Differential price sync completed, next in " . $entity->getUpdateTiming() . "s", Log::INFO, Log::CONTEXT_CRONJOB); // Self-reschedule $nextRun = gmdate('Y-m-d H:i:s', time() + $entity->getUpdateTiming()); JobQueue::push('diff_price', null, 50, $nextRun, 'price_sync', 5, (int) $job->id); return JobResult::success(); } }