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
|
||||
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>";
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user