如何使用 Windows Azure 设置 CRON 作业?

发布于 2024-12-22 13:48:42 字数 125 浏览 1 评论 0原文

有没有办法使用 Windows 计划任务来按计划启动 url 或 exe?

我可以将程序编写为 exe,然后创建 Azure VM,然后通过 RDP 进入 Azure VM,并将其连接到 Windows 任务计划程序吗?

Is there a way to use the windows scheduled task to kick off a url or a exe on a schedule?

Can I write a program as an exe then create a Azure VM then RDP into the Azure VM and hook it up to windows task scheduler?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

冷默言语 2024-12-29 13:48:42

最近事情变得容易多了,请参阅此链接 https://azure.microsoft.com/ en-us/services/scheduler/ 在新的 Azure Scheduler 中创建计划作业。有一个基本的免费套餐以及一些付费选项,但我认为这正是我们许多人所寻求的。它是使用 GET、POST、PUT、DELETE 请求触发 URL 的出色解决方案。

只需按照简单的说明进行操作即可。首先从 Azure 仪表板应用程序菜单中选择“调度程序”:

在此处输入图像描述

Things got much easier lately, please see this link https://azure.microsoft.com/en-us/services/scheduler/ to create a scheduled job in the new Azure Scheduler. There is a basic Free tier as well as some paid options but I think this is exactly what many of us were looking for. It is an excellent solution for triggering URLs with GET,POST,PUT,DELETE requests.

Just follow the simple instructions. Starting by selecting "Scheduler" from the Azure dashboard app menu:

enter image description here

未央 2024-12-29 13:48:42

Azure 现在确实有一个调度程序

它允许通过 HTTP/s 调用 Web 服务并将消息发布到 Windows Azure 存储队列。它非常新,但如果您不需要经常执行调度程序,它可以是免费的。否则,每月只需支付少量费用,并附带最多每分钟的计划任务。

Azure does have a scheduler now.

It allows invoking a Web Service over HTTP/s and post a message to a Windows Azure Storage Queue. It's very new but it can be free if you do not need the scheduler to be executed often. Otherwise it's a small monthly fee which come with scheduled task that can be up to every minute.

蓝眸 2024-12-29 13:48:42

今天的调度程序是 Azure Logic Apps
https://learn.microsoft.com/en- us/azure/logic-apps/logic-apps-overview

如果您正在寻找类似 cron 作业的内容(这是一个在特定时间一次又一次运行的作业),请查看 天蓝色功能:
https://learn.microsoft.com/en-us/天蓝色/天蓝色函数/函数概述

Today the scheduler has been Azure Logic Apps:
https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-overview

If you are looking for something like a cron job (which is a job, that is being run at specific time again and again), then check out Azure Functions:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-overview

巴黎夜雨 2024-12-29 13:48:42

谷歌Azure存储队列。它们允许您安排稍后运行的作业。您甚至可以指定作业何时运行。

Google Azure Storage Queues. They allow you to schedule jobs that will run at a later date. You can even specify when the job should run.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文