Files
html/api/cron-status-api.php
2026-04-12 22:57:03 +02:00

6 lines
210 B
PHP

<?php
header("Content-Type: application/json");
$f = __DIR__ . "/cron-status.json";
if (file_exists($f)) { echo file_get_contents($f); }
else { echo json_encode(["status"=>"ok","crons"=>[],"ts"=>date("c")]); }