Remove Cron Key Requirement from cron scripts in /scripts folder and set to only run on the cli

This commit is contained in:
johnnyq
2025-01-23 14:01:15 -05:00
parent c8e3e37d87
commit 70dd3ab5c8
6 changed files with 27 additions and 49 deletions

View File

@@ -9,10 +9,10 @@ require_once "config.php";
$checks = [];
// Execute the git command to get the latest commit hash
$commitHash = exec('git log -1 --format=%H');
$commitHash = shell_exec('git log -1 --format=%H');
// Get branch info
$gitBranch = exec('git rev-parse --abbrev-ref HEAD');
$gitBranch = shell_exec('git rev-parse --abbrev-ref HEAD');
// Section: System Information
$systemInfo = [];