Skip to content

Commit 8beff28

Browse files
CopilotPDowney
andcommitted
Fix missing bash invocation in emergency auto-upgrade cron job
Co-authored-by: PDowney <11467177+PDowney@users.noreply.github.com> Agent-Logs-Url: https://github.com/EngineScript/EngineScript/sessions/150a43a8-ee54-42b7-9dee-7f7285c6ee4b
1 parent 5891847 commit 8beff28

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to EngineScript will be documented in this file.
44

55
Changes are organized by date, with the most recent changes listed first.
66

7+
## 2026-03-25
8+
9+
### 🔧 CRON JOB SCRIPT EXECUTION FIX
10+
11+
- **Fixed missing `bash` invocation** in `scripts/install/cron/cron-install.sh` for the emergency auto-upgrade cron job. The `emergency-auto-upgrade.sh` script was referenced without the `bash` interpreter, causing it to fail at execution time when run via `cd ... ; script.sh`. Added `bash` before the script name to match the pattern used by all other cron entries.
12+
713
## 2026-03-20
814

915
### 🔧 ADMIN CONTROL PANEL INSTALL SCRIPT FIXES

scripts/install/cron/cron-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fi
3333
#----------------------------------------------------------------------------------
3434

3535
# Security and Updates
36-
[[ "${ENGINESCRIPT_AUTO_EMERGENCY_UPDATES}" == "1" ]] && add_cron_job "1 * * * * cd /usr/local/bin/enginescript/scripts/functions/auto-upgrade; emergency-auto-upgrade.sh >/dev/null 2>&1"
36+
[[ "${ENGINESCRIPT_AUTO_EMERGENCY_UPDATES}" == "1" ]] && add_cron_job "1 * * * * cd /usr/local/bin/enginescript/scripts/functions/auto-upgrade; bash emergency-auto-upgrade.sh >/dev/null 2>&1"
3737

3838
[[ "${ENGINESCRIPT_AUTO_UPDATE}" == "1" ]] && add_cron_job "55 5 * * * cd /usr/local/bin/enginescript/scripts/update; bash enginescript-update.sh >/dev/null 2>&1"
3939

0 commit comments

Comments
 (0)