Click here to Skip to main content
15,903,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i run a method of my mvc web application automatically every day in a particulate time?
Posted

1 solution

Hi,

you can achieve it in a very efficient manner. Follow the following steps.

1.) Create a new console application and keep your method there.
2.) Use the windows task scheduler for scheduling it to be run in a particular interval of time. Schedule it in the scheduler and your work is done.

Windows task scheduler you can schedule any kind of task you want to run and you can mention the date and time for running the application. For scheduling any application please refer the link here.

Thanks,
Sisir Patro
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900