ASP.NET Schedule deletion of temporary files

Posted by Quandary on Stack Overflow See other posts from Stack Overflow or by Quandary
Published on 2010-05-14T09:20:53Z Indexed on 2010/05/14 9:24 UTC
Read the original article Hit count: 490

Question: I have an ASP.NET application which creates temporary PDF files (for the user to download). Now, many users over many days can create many PDFs, which take much disk space.

What's the best way to schedule deletion of files older than 1 day/ 8 hours ? Preferably in the asp.net application itselfs...

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#