Skip to content

Commit 1076268

Browse files
Move to the correct folder before executing the script steps
1 parent 4aec0a5 commit 1076268

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

alerts/generate_send_summary.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ source "$1"
2121
# Determine log file name based on current date
2222
LOG_FILE="./alerts/notification_logs/log_$(date +"%Y_%m_%d").txt"
2323

24+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
25+
cd "$SCRIPT_DIR"
26+
cd ..
27+
2428
batches=0
2529
submitted_total=0
2630
verified_total=0

0 commit comments

Comments
 (0)