How to Automate Azure Task on Weekdays

Rhys Miller 0 Reputation points
2024-04-15T00:29:45.0533333+00:00

Hello. I currently have an automated task which starts an Azure VM every morning at 3 AM.
However, I only need it to start on weekdays (Monday - Friday).
How do I amend this configuration to exclude Saturday and Sunday?
User's image

I see that this page...
https://learn.microsoft.com/en-us/azure/connectors/connectors-native-recurrence?tabs=standard

...describes an option for configuring "On These Days". However, my interface (above) does not include this.

Many thanks for any assistance!
Cheers.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,131 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 15,511 Reputation points MVP
    2024-04-15T00:46:52.4533333+00:00

    Scheduling Azure VM with Logic Apps (Community Example): Start/Stop Azure VMs on Weekdays with Logic Apps - GitHub Gist: https://gist.github.com/neb83/8e92c7fc148a45df4cc33e8e7e0115ce

    0 comments No comments