diff --git a/bin/bsauto b/bin/bsauto index 99f445918ecfab7b85a55c47c4eeccee51b0b450..a66921eea82a3992f1e5883811dc23cdf532e409 100755 --- a/bin/bsauto +++ b/bin/bsauto @@ -173,12 +173,10 @@ function do_check_holidays { if [ $YEAR -ne `/bin/date +%Y` ]; then HOLIDAY_MESSAGE="The holiday schedule appears to have not yet been been updated yet for `/bin/date +%Y`. Please update the CERN holidays in the \$HOLIDAY and \$YEAR variables of the bsauto script.\n\nHappy new year!" if [ ! -z $NOMAD_ALLOC_ID ]; then - WARNING="******************************\n*** Manual action required ***\n******************************\n\n" - do_admin_email "C7X: Holiday schedule error: automation stopped" "$WARNING$HOLIDAY_MESSAGE" + do_admin_email "C7X: Holiday schedule update required" "$HOLIDAY_MESSAGE" else echo $HOLIDAY_MESSAGE fi - exit 1 fi # Check if it's Christmas (16th Dec - 6th Jan)