diff --git a/terraform/environments/edw/scripts/freespace_alert.sh b/terraform/environments/edw/scripts/freespace_alert.sh index f487c3c82d7..3197fad6fa1 100644 --- a/terraform/environments/edw/scripts/freespace_alert.sh +++ b/terraform/environments/edw/scripts/freespace_alert.sh @@ -14,12 +14,12 @@ ORAENV_ASK="NO";export ORAENV_ASK cd $LOCATE -sqlplus -s /nolog <freespace.log +sqlplus -s /nolog <logs/freespace_alert.log conn / as sysdba @freespace_alert.sql exit eosql -if grep "no rows" freespace.log +if grep "no rows" logs/freespace_alert.log then echo "all good" else