Changed crontab_stats.php to only use php code (as shell_exec isn't working)

This commit is contained in:
Tristan Ancelet 2023-05-15 17:32:36 -05:00
parent 396f418350
commit 5d5dd02fb0

View File

@ -1,5 +1,5 @@
<?php
echo "Total Crontabs:<br>";
$crontab_counts=shell_exec('../../Scripts/count-crontabs.sh');
echo "$crontab_counts";
$db = new SQLite3("../../webcron.db");
$res = $db->querySingle("SELECT COUNT(*) FROM crontabs");
echo "Total Crontabs:$res<br>";
?>