Hello experts
I want to monitor files in different folders using timer to schedule tasks at different times within worker service in c#. I have got the idea working if I hard code two interfaces but if I want to do it for multiple tasks how will i run my monitorFiles function to do that using the Task.delay.
the code is following:
Thanks in advance.
Attachment: WorkerServiceApp.zip