Time-based Job Scheduler for ASP.NET MVC RRS feed

  • Question

  • I want to fetch data from an API on hourly basis.

    My idea is to trigger a method automatically every hour to fetch the data.

    I want a simple solution. Also, my project will be using Azure. What are my options and how do I go about it? 

    Wednesday, August 9, 2017 3:22 AM

All replies

  • If you wanna delay a time within 90 Seconds to process with a Task for each request, Please use HostEnvironment.

    But I insist you using a PURE background worker such as "Windows Service" + Azure, or some 3-rd party tools:

    ASP.NET Forum
    FreeRice Donate
    Issues to report

    Wednesday, August 9, 2017 3:59 AM
  • Hello ScratCode,

    As you are in Azure, it is hard to find a simpler and cheaper approach than Azure Functions using a timer:

    Cheers, Jeff

    Wednesday, August 9, 2017 4:21 AM
  • Hi ScratCode,

    Thank you for posting here.

    This type of action is commonly done using a scheduling agent like Windows Task Scheduler .

    The Task Scheduler enables you to automatically perform routine tasks on a chosen computer. The Task Scheduler does this by monitoring whatever criteria you choose to initiate the tasks and then executing the tasks when the criteria is met.

    According to the title, you also can post the issue on ASP.NET forum.

    Best Regards,


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • Proposed as answer by CoolDadTx Thursday, August 10, 2017 6:25 PM
    Thursday, August 10, 2017 3:00 AM