Added standard WordPress cron constant
Improved where for date range