Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- i=1
- email=`email@address.com`
- while [ $i -le 10 ]
- do
- #generage random number between approx 1.4 and 8 hours
- a=$[($RANDOM % 24400)+4400]
- echo $a
- #work out what time will be when will occur
- #email info
- ssmtp -s "nothing here" $email > msg.txt
- i=`expr $i + 10`
- done
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement