Fixed an issue where cronjob is using today's data

Should be using yesterday's data as that's the time when we have a full
day of data where as we do not have a full day of data today.