From dbc5587bb686dfdadccd5baa315535317e91a595 Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Sat, 20 May 2023 20:15:39 +0000 Subject: [PATCH] Made changes and got shell_exec working --- api/crontab_stats.php | 4 +--- api/test.php | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/api/crontab_stats.php b/api/crontab_stats.php index bcfef3a..fa644a2 100644 --- a/api/crontab_stats.php +++ b/api/crontab_stats.php @@ -1,5 +1,3 @@ querySingle("SELECT COUNT(*) FROM crontabs"); -echo "Total Crontabs:$res
"; +echo shell_exec("../../Scripts/count-crontabs.sh"); ?> diff --git a/api/test.php b/api/test.php index 7b5c5e0..462e647 100644 --- a/api/test.php +++ b/api/test.php @@ -1,5 +1,5 @@ \ No newline at end of file +?>