6 lines
210 B
PHP
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")]); }
|