The error is exactly as described in the exception: Under XP an WS2K3, you are using the Task Scheduler 1.0 library which demands that "Trigger.Repetition.Interval must be less than Trigger.Repetition.Duration under Task Scheduler 1.0". You set the variable "dt.Repetition.Interval" to 5 minutes. You must therefore set "dt.Repetition.Duration" to something greater than 5 minutes before registering the task.
↧