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

后端 未结 10 1314
南笙
南笙 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:20

    Consider using Windows Task Scheduler.

    You could extract your business logic to a separate DLL and write a simple Console app that will just run your task after accepting the parameters through command line.

提交回复
热议问题