updates to cron job

cron job mysql query optimized to accept any day, and disregards
month/year.