searchCases(); // g::pr($this->searchSificonParameter('Url')); $endTime = date('Y-m-d H:i:s'); eprintln('--- The cron file: ' . $pathCron . ' has been executed succesfully ' . $endTime, 'green'); } else { eprintln('--- The plugin psFassilManagementPlugin is disabled', 'red'); } } } catch (Exception $e) { return $e->getMessage(); } } public function searchSificonParameter($key) { $sQselectSSP = "SELECT * FROM PMT_SOL_SIFICON_PARAMETERS WHERE SSP_KEY='$key'"; $sSelectSSP = executeQuery($sQselectSSP); $return = ''; if (count($sSelectSSP) > 0) { $sSelectSSP = array_shift($sSelectSSP); $return = $sSelectSSP['SSP_VALUE']; } return $return; } } // $cronSendNotification = new cronSendNotificationClassCron(); // $cronSendNotification->executeCron();