Iteration for datetime object with cron like format
