Skip to content

Commit 293e505

Browse files
committed
Hardcoded an rsync target path, and added a bash trap for errors in hourly and daily cron scripts.
- Legacy-Id: 17264
1 parent 445afbe commit 293e505

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bin/daily

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# /etc/cron.d/datatracker
77

88
# Make sure we stop if something goes wrong:
9+
program=${0##*/}
910
trap 'echo "$program($LINENO): Command failed with error code $? ([$$] $0 $*)"; exit 1' ERR
1011

1112
# Run the hourly jobs first

0 commit comments

Comments
 (0)