11

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?

Kara
  • 6,115
  • 16
  • 50
  • 57
OpTech Marketing
  • 417
  • 2
  • 6
  • 19

4 Answers4

5

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.

Patrick Desjardins
  • 136,852
  • 88
  • 292
  • 341
5

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

Milan
  • 3,209
  • 1
  • 35
  • 46
3

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

cmp
  • 35
  • 6
nelion
  • 1,712
  • 4
  • 17
  • 37
2

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.

RyanFishman
  • 695
  • 5
  • 13
  • Will this work if i need to run a job one time per minute, all day, every day? – OpTech Marketing Jan 17 '12 at 01:52
  • yes. Even if a machine fails during the execution of a job, another machine will pick up the job for you in the background. A job however may run more than twice if hardware fails, so it is your job to make the task idempotant. – RyanFishman Jan 18 '12 at 02:47
  • 2
    Ryan, How do I schedule a job. Just Went Through documentation at: http://msdn.microsoft.com/en-us/library/dd179363.aspx I did not see a way to do something every minute. – OpTech Marketing Mar 08 '12 at 23:57