public function sendNotifications() { require_once 'Services/Payment/classes/class.ilPaymentNotification.php'; $msn = new ilPaymentNotification(); $msn->send(); return true; }
public function run() { require_once 'Services/Payment/classes/class.ilPaymentNotification.php'; $msn = new ilPaymentNotification(); $msn->send(); include_once './Services/Payment/classes/class.ilUserDefinedInvoiceNumber.php'; if (ilUserDefinedInvoiceNumber::_isUDInvoiceNumberActive()) { $msn = new ilUserDefinedInvoiceNumber(); $msn->cronCheck(); } $result = new ilCronJobResult(); $result->setStatus(ilCronJobResult::STATUS_OK); return $result; }