#!/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()); } // Update Uptime Robot status in Settings table via API call if ($api_keys = $setting->getValue('monitoring_uptimerobot_api_keys')) { if (!strstr($api_keys, '|')) { $monitoring->setTools($tools); if (!$monitoring->storeUptimeRobotStatus()) { $log->logError($monitoring->getCronError()); $monitoring->endCronjob($cron_name, 'E0017', 1, false); } } } else { $log->logDebug('Skipped Uptime Robot API update, missing api keys'); } require_once('cron_end.inc.php'); ?>