Changed crontab_stats.php to only use php code (as shell_exec isn't working)
This commit is contained in:
parent
396f418350
commit
5d5dd02fb0
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
echo "Total Crontabs:<br>";
|
$db = new SQLite3("../../webcron.db");
|
||||||
$crontab_counts=shell_exec('../../Scripts/count-crontabs.sh');
|
$res = $db->querySingle("SELECT COUNT(*) FROM crontabs");
|
||||||
echo "$crontab_counts";
|
echo "Total Crontabs:$res<br>";
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user