Made changes and got shell_exec working

This commit is contained in:
Tristan Ancelet 2023-05-20 20:15:39 +00:00
parent bfa1ed68f6
commit dbc5587bb6
2 changed files with 3 additions and 5 deletions

View File

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

View File

@ -1,5 +1,5 @@
<?php
echo shell_exec("uname -a");
echo shell_exec("../../Scripts/count-crontabs.sh");
?>