Based on a truestory:
xxx:
smack-my-bitch-up.sh
- sends a text message "late at work" to his wife (apparently). Automatically picks reasons from an array of strings, randomly. Runs inside a cron-job. The job fires if there are active SSH-sessions on the server after 9pm with his login.
Modified smack-my-bitch-up.sh to inform-my-wife.sh
Sends SMS to wife if you are going to be late from office. Just add a cron job to run inform-my-wife.sh daily at a specific time (say 1900 hrs)
crontab -l
1 19 * * * inform-my-wife.sh