Azure-docs: Azure Logic Apps - Schedule weekday only

Created on 4 Feb 2019  Â·  8Comments  Â·  Source: MicrosoftDocs/azure-docs

I'm trying Azure Logic Apps, but I can't figure how I can schedule it to run only on weekdays. The docs have a "Show advanced options" that displays a lot of configurations (including what I'm looking for), however this is not available to me, as you may see here:

image

...and this "Add new parameter" button only has two parameters:

  • Time zone
  • Start time

Is there any other way I can configure a recurrence schedule, for instance to run twice a day, (e.g every work day at 9am and 5pm)?

Thanks!


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author logic-appsvc product-question triaged

All 8 comments

Hi @AlissonRS, thanks for your question! You can select specific days when you set Frequency to Week as described in the Trigger details section:

image

And then to set the specific times of day, use At these hours and At these minutes, which appear only after you select Week or Day:

image

@ecfan thanks for your answer, that was exactly what I was looking for (sorry, I should have looked a bit further before asking). I really appreciate it.

@AlissonRS You're welcome! I'll now ask the team to close this issue. If you have other questions, please feel free to open another issue. Thanks!

please-close

Would it be possible to add a cronjob syntax to this at least on minutes? Writing every minute you want it to run is cumbersome. 3,6,9,12,15 etc...

Also, in a schedule like this, possible to run each 0,15,30,45 seconds?

image

Hi @boltlol, thanks for your suggestion! Are you requesting to add this syntax as a feature? If yes, please submit your request at the Logic Apps product feedback site so the team can review:

https://feedback.azure.com/forums/287593-logic-apps

Thanks!

@ecfan I have a similar need but a tad more complex. We have a complex ADF pipeline run that ingests data, and at conclusion I have logicapps that fire to rebuild the Analysis Services Models. All days except Saturday mornings, I need the logicapps to make one call to the AAS services (has a partition call), then on Saturday mornings, I need it to do a different AAS refresh call (full refresh on models). The trick is - I don't know the time it will run, because it needs to run at the end of the ADF completion. Is there a way within the logicapp itself (not a trigger) to do this and determine what day it is and make a loop based on the day? Thanks

Hi @chasdso, thanks for reaching out! Could you use the dayOfWeek() function in an expression to determine the current day?

@ecfan woot! Perfect thank you! Overlooked it -

Was this page helpful?
0 / 5 - 0 ratings