托管在 AWS 中的 .NET Core 2 Web 应用程序中的计划作业 [英] Scheduled Jobs in .NET Core 2 Web app hosted in AWS
问题描述
我们正在 .NET Core 2 中启动一个新项目,我将需要一些方法来运行计划的作业来完成一些工作.此应用程序将托管在 Linux 服务器或 AWS linux 实例中.我已经使用 Azure WebJobs 和 .NET 4.6 完成了这项工作.这是如何使用 .Net Core 和 Linux 完成的
We are starting a new project in .NET Core 2, I will be needing some approach to run a scheduled job that will do some work. This app will be hosted in Linux server or AWS linux instance. I have done this with Azure WebJobs and .NET 4.6. How is this done with .Net Core and Linux
推荐答案
我不知道谁赞成这个问题.我出去使用了 Hangfire Jobs.很容易工作.实际上不是预定的工作.但是我们可以从 Run() 开始,然后继续做其他事情.无需等待它结束.如果有人需要详细信息.请评论
I dont know who upvoted this question. I went out and used Hangfire Jobs. Pretty easy to work. not actually a scheduled job. But we can start it with a Run() and be on our way doing other things. No need to wait for it to end. If anyone need a detail. plz comment
这篇关于托管在 AWS 中的 .NET Core 2 Web 应用程序中的计划作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!