none
I have a Linux VM in Azure. How do I run a particular python file on this VM every day at 3pm? RRS feed

  • Question

  • I have a script that needs to be run every day.  I've been having a difficult time figuring out how to automate just running that one script.  Advice please?
    Friday, December 13, 2019 2:13 AM

All replies

  • Easiest approach would be to do it by Timer Triggered Azure Function.  

    Create a timer triggered function

    Functions quickstart page in the Azure portal

    Functions quickstart choose more templates

    Create a timer triggered function in the Azure portal.

    Schedule 0 */1 * * * * A six field CRON expression that schedules your function to run every minute.

    Update the timer schedule with your specific need.

    Expand your function and click Integrate. This is where you define input and output bindings for your function and also set the schedule.

    Enter a new hourly Schedule value of 0 0 */1 * * * and then click Save

    Functions update timer schedule in the Azure portal.

    Friday, December 13, 2019 4:17 AM
    Moderator
  • Any updates on this ?
    Monday, December 16, 2019 3:57 AM
    Moderator
  • Just following up here, were you able to make any further progress with the suggestions given to you here? 
    Thursday, December 19, 2019 3:34 AM
    Moderator