Skip to content

Commit

Permalink
fix percentage error #90
Browse files Browse the repository at this point in the history
  • Loading branch information
louisegrimble committed Jan 30, 2025
1 parent 4caece9 commit 8158f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/filesystem/disk-usage/submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Please review contents of Lustre directory (/lustre/scratch126/cellgen/team298),
\n Thank you."

# this will change to if $used_value is more than 47.5T
if [ "$nfs_used_int" -gt "$warn_int" ]; then
if [ "$warn_int" -gt "$warn_int" ]; then
# Submit the email
echo -e "$message_lustre" | mail -s "Lustre Quota Alert" [email protected] #[email protected] [email protected] [email protected]
fi
Expand All @@ -100,7 +100,7 @@ Please review contents of NFS directory (/nfs/team298), and remove content that
\n NOTE:Items that should not be permanently deleted can be stored on iRODS for secure storage. Find Haniffa Lab (Team298) storage spa>
\n Thank you."

if [ "$nfs_used" -gt "$warn_nfs" ]; then
if [ "$nfs_used_int" -gt "$warn_nfs" ]; then
# Submit the email
echo -e $nfs_message | mail -s "NFS Quota Alert" [email protected]
fi

0 comments on commit 8158f84

Please sign in to comment.