Skip to content

Commit

Permalink
Merge pull request #128 from hathitrust/DEV-1086-monthly-reports
Browse files Browse the repository at this point in the history
DEV-1086: use new notification script; pass SMTP_HOST
  • Loading branch information
aelkiss authored May 7, 2024
2 parents a17f379 + 3a3eed7 commit d89fe70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/send_logs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ set -x
LOGDIR=/htprep/datasets/logs
if compgen -G "$LOGDIR/deletelog*" > /dev/null; then
# email deletes; move delete log to 'sent' if success
/usr/src/app/bin/notify.rb $LOGDIR/deletelog* && mv $LOGDIR/deletelog* $LOGDIR/delete_notifications_sent/
/usr/src/app/bin/datasets.rb notify --smtp-host $SMTP_HOST $LOGDIR/deletelog* && mv $LOGDIR/deletelog* $LOGDIR/delete_notifications_sent/
fi

0 comments on commit d89fe70

Please sign in to comment.