/trunk/cron.php |
---|
24,7 → 24,6 |
// If you cannot use cron.sh or cron.bat for cronjobs, then you can use |
// a WebCron service (e.g. https://www.easycron.com/ ) instead, using cron.php |
use ViaThinkSoft\OIDplus\OIDplus; |
try { |
require_once __DIR__ . '/includes/oidplus.inc.php'; |
33,7 → 32,7 |
OIDplus::init(false); |
OIDplus::invoke_shutdown(); |
ob_end_clean(); |
} catch (\Exception $e) { |
} catch (Exception $e) { |
http_response_code(500); // Internal Server Error |
echo $e->getMessage(); |
} |