searchCases(); $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(); } } } // $cronSendNotification = new cronSendNotificationDerivationClassCron(); // $cronSendNotification->executeCron();