fix forever loop and date validation

fixed entering invalid cron syntax (2 00,14 00 * * 0-7) could generate a forever loop.
tentative fix for date validation which was accepting cron syntax as a valid date.