Add Validation for ScheduledTask