#!/usr/bin/php getPrice()) { $log->logInfo("Price update: found $price as price"); if (!$setting->setValue('price', $price)) $log->logError("unable to update value in settings table"); } else { $log->logFatal("failed to fetch API data: " . $tools->getError()); } require_once('cron_end.inc.php'); ?>