Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (7 sloc) 356 Bytes
#! /bin/bash
#uuu.sh $YESTERDAY >$HOME/craig/email.txt
email="$HOME/craig/email.txt"
cd $HOME/craig/
YESTERDAY=`date --date=yesterday +'%F'`
$HOME/craig/uuu.sh $YESTERDAY >$email
/usr/bin/mail -s "This is an auto generated email for craigslist data in $YESTERDAY." "kevin@alumni.sfu.ca,shawnleslie@gmail.com,jxjwilliam@gmail.com" < $email