Scheduled task in C #

I have a date and time in the code that I want to call a specific method. This date and time may also be repeated. I will run this on the IIS server if this is important.

Is there a way in C # for this?

-4
source share
3 answers

Take a look at Quartz.net

I think you will probably have to break your code into some kind of service. Running a scheduled task is not what IIS is for.

+5
source

Another tool is Visual Cron. I used this in a production environment and it works great! http://www.visualcron.com/

+1
source

Timer, ElapsedEventHandler , .

0

Source: https://habr.com/ru/post/1665146/


All Articles