0

I have an XML file that defines the times at which a method should be called, as well as the arguments to be passed to the method at each call. Question is, how to schedule the calling of the method at the desired times and using the desired arguments? I have seen The Task.Dealy() method but it does not help in this case. As I have to calculate the difference between each two times in the xml file. I think there should be some easier way to do it.

What I am looking for is something like this: at 15:30 on 5th of July call the method by passing argument1 Then at 18:00 on 5th of July call the method by passing argument2

Sameer Damir
  • 1,454
  • 2
  • 11
  • 8

0 Answers0