Preforming scheduled tasks in C# .NET MVC Application

后端 未结 4 817
礼貌的吻别
礼貌的吻别 2020-12-17 06:18

I\'m trying to implement a logic for my .NET MVC application where I would trigger scheduled tasks in my application on a following basis:

First scheduled ta         


        
4条回答
  •  执笔经年
    2020-12-17 06:56

    I had similar problem with my ASP.NET MVC App, I Wanted to do some works in special times and finally I could find a way. My solution was Plesk scheduels task feature, as where the most windows servers use plesk control panel You can publish your app on a windows server with plesk CP and create a new actionresualt in your MVC App and write Your codes that want to execute them in special times. By plesk scheduels tasks create a new task and call your Url with a cron that You made it, You can make many crons. If I Could not explain It very well You can search about Plesk Schedueled Tasks on the Internet, You can find many good answers.

提交回复
热议问题