How do I run my c# program as a scheduled task

后端 未结 10 1318
南笙
南笙 2021-01-12 08:59

I am still pretty much new to c# so you will have to bear with me.

I have developed a windows form program which updates some SQL records as an end of day process fo

10条回答
  •  不思量自难忘°
    2021-01-12 09:19

    If it is a windows application, just go to the bin folder, get the executable file, and finally schedule a task for it by using windows schedule task and choose the exe file as you targeted application.

    if it is web application, you may want to include your code in a quartz.net scheduled job, details are on quartz.net website.

提交回复
热议问题