Posted on: 12/18/2013 4:03:37 AM | Views : 824

hi all,
I have a method in my asp.net MVC application, which needs to runs every 24hrs to check the status of a challenge. I used System.Threading namespace and the following is my code
protected void Application_Start(object sender, EventArgs e) { Thread expiredUsersThread = new Thread(new ThreadStart(ThreadProc)); expiredUsersThread.Start(); } public void ThreadProc() { // Corresponding Code //time in milliseconds Thread.Sleep(60000); }
The problem is, it works when I run the project, but it does not run after 60000 ms.
Can anybody please let me know what is wrong here?
Really appriciate your help.

Warmest Regards...

Go to the complete details ...