I have got a requirement in which i need to execute a function at specified time set by the user.The function contains the code to generate a pdf file from database and save it
There is a good library called quartz that I can recommend. Its main purpose is starting jobs at a given time.