0

I am developing a web application in ASP.NET MVC , I am newbeei, I have a usecase I am entering some values in table along with status, say"Active", After sometime say half an hour those status should be updated to "Inactive" in a background task , I am using MS Sql

Please me provide me with a solution

tereško
  • 58,060
  • 25
  • 98
  • 150
Pragadees
  • 71
  • 1
  • 12
  • Possible duplicate of [Best way to run scheduled tasks](http://stackoverflow.com/questions/542804/best-way-to-run-scheduled-tasks) – torvin Oct 05 '15 at 04:24

1 Answers1

0

you need to use Windows service for this and schedule it to run each half hour check the following examples :

http://www.aspfree.com/c/a/C-Sharp/Timer-Objects-in-Windows-Services-with-C-NET/

http://www.c-sharpcorner.com/UploadFile/naresh.avari/develop-and-install-a-windows-service-in-C-Sharp/

Ayman Barhoum
  • 1,255
  • 1
  • 16
  • 31