modified yesterday cronjob with SQL2Ratings changes