Knowledge Base Article

6 Comments

  • Can you please let me know how to use this script. Actually i have never used scripts, can you give please some info on this. It is very useful script if it works. Because we are manually counting this every single day.
  • The script is designed to run on UNIX systems.

    What kind of system are you running?

    You will want to rename it to "available_scratch_media.sh" and change the "SOMEONE_WHO_CARES" to the email address you want to send the message to.

    I run it from cron on a daily basis with the below crontable entry: (you should change the "/opt/nbu_scripts" portion to where you have installed the script.

    10 15 * * * /opt/nbu_scripts/available_scratch_media > /dev/null 2>&1

  • No guarantees, but I will see if I can make up a windows style script... or maybe convert it to perl.