Windows service with 24 hour trigger
Posted on 2007-03-23
I am creating a service that will create a PDF with a date included in the name of the file. The PDF is created from other PDFs that accumulate within a group of folders. Every morning at a user defined time (probably 7AM) all the files that have been accumlated will be cleared out and new files will start to accumlate and a new PDF will be created with a new date included file name. I will have a timer that creates the new PDF every few minutes.
My question is how do I trigger the clearing out the PDFs in the accumlation folders at the user defined time? I can imagine a couple of methods that might work but hoped that someone might suggest a proven method.