Space Used Message

0 Likes

This script can be added to the crontab to run once a week:

#crontab -e (to add the script)



To run the script:


  1. Creat a directory /tmp/mailSpace (#mkdir /tmp/mailSpace)

  • Edit the script (vi ./mailSpace.sh) and replace /STORAGE/MAIL with your directory location, and USERNAME with your own user

  • #chmod 755 mailSpace.sh

Labels:

Collateral
Comment List
Anonymous
Related Discussions
Recommended