How to run any jobs in ASP.NET ?
How to execute any method or function in scheduled in ASP.NET ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kunal VaishyaPosted Jul 2, 2013, 3:06 AM
Jignesh TrivediPosted Jul 1, 2013, 11:14 PM
hi,
I think, ASP.net is not allow you to run any method or function in scheduled, because it work on request - respone mechanism.
for that you have to write some seprate mechanism.
you can write SQL job or above describ method to acheive this.
What is purpose of your background function?
Kunal VaishyaPosted Jul 1, 2013, 9:05 AM
Posted Jul 1, 2013, 5:45 AM
Make the method as WebMethod -- Webservice
From the windows scheduler, call the webservice in a particular interval.