Hi All,
Please guide me how to make azure function run FIRST quarter of month and First quarter of last month.
Thanks,
Arshad
Howdy!
I think you are looking for the ability to run a function on a schedule:
docs.microsoft.com/.../functions-create-scheduled-function
Azure Function Run Quarterly is an essential monthly report that provides critical insights and activity for Azure Functions. This report helps ensure that all Azure Function community members are kept up-to-date on developments with Azure Functions.
Visit Here: technanosoft.com/.../azure-services
Hi Arshad,
There are a few different ways to make an Azure Function run at specific times, such as the first quarter of the current month and the first quarter of the previous month. Here are a few options you can consider:
Use the Timer trigger built into Azure Functions. You can configure the timer trigger to run on a schedule using the standard CRON syntax. For example, to run the function every day at 3:00 AM, you could use the following schedule: "0 0 3 * * *". To run the function every day at 3:00 AM every first day of every quarter you could use this schedule "0 0 3 1 */3 *"
Use Azure Logic Apps to schedule the function to run. Logic Apps allows you to create workflows that include custom logic and integrations with other services, such as Azure Functions. You can use the built-in "Recurrence" trigger to schedule the function to run at specific times, and use the "If" condition to check whether the current date is the first day of the month.
Use Azure Scheduler which is a fully managed service that enables you to invoke HTTP/S endpoints (URLs) or post messages to a storage queue on any schedule. You could configure the job to run on desired schedule every first day of every quarter.
Please note that the timezone of the schedule will be based on the timezone of the hosting server. It is always recommended to use UTC timezone for scheduling purposes.
Once you've chosen your method for scheduling your function, you'll need to implement the logic for the function to check whether the current date is the first day of the month or the first day of the quarter, and to perform the appropriate action. You can use .net DateTime or any other programming constructs to evaluate that.
DateTime
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
MVP-Daniyal Khaleel 130
Tom_Gioielli 118 Super User 2025 Season 2
Erin Lubben 57