How to run any jobs in ASP.NET ?
How to execute any method or function in scheduled in ASP.NET ?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted Jul 1, 2013, 1:45 AM EDT
Make the method as WebMethod -- Webservice
From the windows scheduler, call the webservice in a particular interval.
Kunal VaishyaRank #990 · 2K reputationPosted Jul 1, 2013, 5:05 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Jul 1, 2013, 7:14 PM EDT
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 VaishyaRank #990 · 2K reputationPosted Jul 1, 2013, 11:06 PM EDT