#!/usr/bin/php getPrice()) { $log->logDebug("Price update: found $price as price"); if (!$setting->setValue('price', $price)) $log->logError("unable to update value in settings table"); } else { $log->logError("failed to fetch API data: " . $tools->getCronError()); } if ($setting->getValue('monitoring_uptimerobot_private_key')) { $monitoring->setTools($tools); if (!$monitoring->storeUptimeRobotStatus()) { $log->logError($monitoring->getCronError()); $monitoring->endCronjob($cron_name, 'E0017', 1, true); } } else { $log->logDebug('Skipped Uptime Robot API update, missing private key'); } require_once('cron_end.inc.php'); ?>