setTestH($sValue); } else if ($sType == "i") { $oServicesCron->setTestI($sValue); } else if ($sType == "s") { $oServicesCron->setTestS($sValue); } return $oServicesCron->run(); } public function testOld($aParam) { $sType = $aParam["aArg"][1] ?? false; $sValue = $aParam["aArg"][2] ?? false; $oHttp = new Http(); $oHttp->sMethod = "get"; $oHttp->bIsJson = true; $oHttp->sToUrl = env("APP_URL")."/cron"; if ($sType && $sValue) { $oHttp->aData = ["k" => $sType, "v" => $sValue]; } $r = $oHttp->send(); return $r; } }