#!/bin/sh

cd /usr/local/atmail/webmail/utilities/calendar/

php insert_calendar_entry.php "/calendars/$1%40$2/calendar/" $1@$2 $3 "Day 1 of Running." "Wake up and get moving! :)" "NOW 07:00:00" "NOW 07:30:00" "" 0 > /dev/null &
php insert_calendar_entry.php "/calendars/$1%40$2/calendar/" $1@$2 $3 "Breakfast with Mum, Paris Cake Shop." "Behind Bondi SLSC. Verify address?" "NOW 08:00:00" "NOW 08:30:00" "91 Bondi Rd, Bondi NSW" 0 > /dev/null &
php insert_calendar_entry.php "/calendars/$1%40$2/calendar/" $1@$2 $3 "Flight to Sunshine Coast." "Terminal 2, Sydney Domestic." "NOW 19:00:00" "NOW 21:00:00" "10 Arrivals Road, Sydney" 0 > /dev/null &
php insert_calendar_entry.php "/calendars/$1%40$2/calendar/" $1@$2 $3 "Buy gifts for Emma." "Do this, or feel her wrath!" "NOW+2 17:00:00" "NOW+2 19:00:00" "455 George St, Sydney" 0 > /dev/null &
php insert_calendar_entry.php "/calendars/$1%40$2/calendar/" $1@$2 $3 "Meet with Real Estate, House viewing." "Note to self: Don't get carried away." "NOW+4 09:00:00" "NOW+4 10:00:00" "" 0 > /dev/null &
php insert_calendar_entry.php "/calendars/$1%40$2/calendar/" $1@$2 $3 "Make reservations for Spirit House." "Note to self: Don't get carried away." "NOW+5 15:00:00" "NOW+5 15:30:00" "" 0 > /dev/null &

calendar=`php insert_calendar.php Work $1@$2 $3 00bf02`
php insert_calendar_entry.php $calendar $1@$2 $3 "Daily Team Catch-up" "Check with tech team, see task reports." "NOW 09:00:00" "NOW 09:30:00" "" 0 > /dev/null &
php insert_calendar_entry.php $calendar $1@$2 $3 "Lunch with Pierce, Blue Oyster Bar." "Note to self: Bring stat printouts" "NOW 12:30:00" "NOW 13:30:00" "" 0 > /dev/null
php insert_calendar_entry.php $calendar $1@$2 $3 "Sync up with Ed, System Monitoring" "Go over recent service reports." "NOW 11:00:00" "NOW 11:30:00" "" 0 10 > /dev/null
php insert_calendar_entry.php $calendar $1@$2 $3 "Sanity checks for services." "Make sure everything is 100% before you go." "NOW 17:00:00" "NOW 18:30:00" "" 0 10 > /dev/null
