Skip to content

Commit

Permalink
TM-818 Correct log path for freespace script
Browse files Browse the repository at this point in the history
  • Loading branch information
vc13837 committed Dec 19, 2024
1 parent d636170 commit c771423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/environments/edw/scripts/freespace_alert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ ORAENV_ASK="NO";export ORAENV_ASK

cd $LOCATE

sqlplus -s /nolog <<eosql >freespace.log
sqlplus -s /nolog <<eosql >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
Expand Down

0 comments on commit c771423

Please sign in to comment.