Changed crontab_stats.php to only use php code (as shell_exec isn't working)
This commit is contained in:
1 parent
396f418350
commit
5d5dd02fb0
1 file changed
+3
-3
@@ -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>";
|
||||
?>
|
||||
Reference in new issue
Block a user