How to execute some task at particular day of week?

时间:2019-04-08 14:06:05

标签: c# asp.net-mvc-3 scheduled-tasks scheduler

I made one scheduler in c# mvc but I want to execute it on particular day of week.I also want to execute only one time at that day and it should not repeat again at same day.I am unaware about how to do it so so please can anyone help me with scheduling task on particular day of week. I used. Net framework v4. 0

1 个答案:

答案 0 :(得分:-1)

查看DateTime类,尤其是DayOfWeek属性。那应该给你你所需要的。