Cron consolidate queries