-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a2cadc
commit 3343802
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [ "$warn_int" -gt "$warn_int" ]; then | ||
if [ "$used_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 | ||
|
@@ -100,3 +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_int" -gt "$warn_nfs" ]; then | ||
# Submit the email | ||
echo -e $nfs_message | mail -s "NFS Quota Alert" [email protected] | ||
fi |