Hardcoded an rsync target path, and added a bash trap for errors in hourly and daily cron scripts.

- Legacy-Id: 17264
This commit is contained in:
Henrik Levkowetz 2020-01-28 15:41:47 +00:00
parent 445afbe5c5
commit 293e505bbb

View file

@ -6,6 +6,7 @@
# /etc/cron.d/datatracker
# Make sure we stop if something goes wrong:
program=${0##*/}
trap 'echo "$program($LINENO): Command failed with error code $? ([$$] $0 $*)"; exit 1' ERR
# Run the hourly jobs first