I'm developing a app, where i have to do some specific task like writing in a file and changing a variable (and hence application reloading) [actually changing the app operation mode and relaunching on the updated operation mode] based on a specific time of a day. Means, on 2AM daily, the app will do some task. And also on 6AM daily, the app will do another set of task. This can not be done by windows task scheduler but direct from the app. I need a guidance on how to achieve this?? I am thinking of using the system time and some other ways like timer polling for reading the time and on specific time defined, it will do the task. Any other better ideas, please advise me, so I can do that job!!!