From d55b13ecbfaed4a47a1419b2f819cc3f2d1bd13e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 14 Oct 2025 14:03:28 -0700 Subject: [PATCH] Add more comments. --- cronjob.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cronjob.sh b/cronjob.sh index 48b505f..0d8eb51 100755 --- a/cronjob.sh +++ b/cronjob.sh @@ -40,11 +40,13 @@ grep_status="$?" log "Pull status is '$git_status', checking for changes is '$grep_status'." +# Check whether the continuously running jobs have been updated. echo "$output" | grep "main.js" main_changed="$?" echo "$output" | grep "run.sh" run_changed="$?" +# Determine where we've landed and whether we need to do anything. if [[ $git_status != 0 ]]; then log "*** ERROR: Git reported a failure! ***" exit 1 @@ -59,4 +61,6 @@ else log "*** WARNING: Unknown Situation ***" fi +## Success! ## + exit 0