ATT Usage Script
About

Since I am now paying for my own mobile phone plan, I wanted to be able to keep track of my minutes and have some idea of how many minutes I should be talking on the phone each weekday. This script takes the number of minutes I have used this month and optionally the number of AT&T rollover minutes that I have and outputs the number of minutes remaining and a quota for the number of remaining weekdays.

The Script

This script only has two variables that need to be changed. I have 450 minutes per month so I set MIN_TOTAL to 450.

MIN_TOTAL=450

My billing cycle ends on the 17th of each month so I set END_DAY to 17.

END_DAY=17

It is as simple as downloading the script, making it executable, and running it.

att.sh <used minutes> [rollover minutes]