I'm trying to have my console app program zip files from an XML file. That part is done; but now, to add more of a headache, i want this action to happen only at certain times.
So, what i'm think is something similar to this
and then add all of my code that normally would run. The problem with this method is that when i run the program, it immediately closes b/c it isn't that time. So, my question is...how do i have the program continously check for the time and only run the "if statement" at a certain time.
So, what i'm think is something similar to this
Code:
Dim clocktime = Format(TimeOfDay, "Long Time")
If clocktime = #1:26:00 PM# Then
Comment