C# How can I trigger an event at a specific time of day?
- by Andrei
Hello everybody.
I'm working on a program that will need to delete a folder (and then re-instantiate it) at a certain hour of the day, and this hour will be given by the user.
The hour will most likely be during the night, because that's when nobody is accessing the folder (it's outside working hours). Is there a way to trigger that event at that certain hour?
I know about timers, but is there an easier way to do this without a timer that ticks and checks to see what time it is?
Thanks.