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

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

    If I'm understanding your question correctly, this is how you could possibly proceed:

    • Best way to parse command line arguments in C#? -> check the answers and choose a library to process the args or write your own code to do so.
    • Create a scheduled task if those arguments are present by Creating Scheduled Tasks

提交回复
热议问题