It only works when all users in OU have expiry date
If one does not then fgrep manipulation makes this one user still receive email which makes no sense
Your password will expire:
Please, change your password.
So extra logic is needed, as well as possibly an extra variable for checkTime2, so one can select ie 7 days & 1 day & not need to run 2 separate scripts