Validate a schedule, return 1 if valid, 0 if not,
Returns return 1 if valid, 0 if not for a schedule.