| Server IP : 188.114.96.3 / Your IP : 216.73.216.143 Web Server : Apache System : Linux sv058.home.net.pl 6.8.2 husak_dirty_pages_fix #1 SMP PREEMPT_DYNAMIC Tue Apr 2 22:06:51 CEST 2024 x86_64 User : ( 3194769) PHP Version : 8.5.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /polana/cron/ |
Upload File : |
<?php
declare(strict_types=1);
if (PHP_SAPI !== 'cli') { http_response_code(403); exit('CLI only'); }
require_once dirname(__DIR__) . '/includes/polana_ntfy_v186.php';
date_default_timezone_set('Europe/Warsaw');
try {
$result = pnt186_check_backup();
echo 'POLANA ntfy V18.6: ' . (string)$result['status'] . (!empty($result['sent']) ? ' (wysłano alert)' : '') . PHP_EOL;
} catch (Throwable $e) {
error_log('[POLANA NTFY] ' . get_class($e) . ': ' . $e->getMessage());
fwrite(STDERR, "Sprawdzenie ntfy nie powiodło się. Sprawdź logi serwera.\n");
exit(1);
}