Windows service scheduling to run daily once a day at 6:00 AM

后端 未结 6 2032
無奈伤痛
無奈伤痛 2020-12-10 03:17

I had created a windows service and i want that the service will Schedule to run daily at 6:00 Am. Below is the code which i had written:-

public Service1()
         


        
6条回答
  •  春和景丽
    2020-12-10 03:59

    If a service is really required, look at Quartz.NET to do the scheduling for you

    http://www.quartz-scheduler.net/

提交回复
热议问题