#!/usr/bin/php cleanupNotifications($setting->getValue('notifications_cleanup_time', 7))) { $notification->deleted == 0 ? $log->logDebug('Did not delete any old notifications') : $log->logInfo('Deleted ' . $notification->deleted . ' notifications'); } else { $log->logError('Failed to delete notifications: ' . $notification->getCronError()); $monitoring->endCronjob($cron_name, 'E0074', 0, false, false); } // Cron cleanup and monitoring require_once('cron_end.inc.php'); ?>