Run a scheduled task in Azure

There are several ways available to run a scheduled task in azure. One of the method is based on Azure Function App. Create a Function App based on Runtime Stack as PowerShell Core.
226823-image.png
Select Functions as below and click Create
226857-image.png

Select Timer Trigger and set the schedule as needed. Enter a cron expression of the format ‘{second} {minute} {hour} {day} {month} {day of week}’ to specify the schedule.
226896-image.png
Open the timer function and add your ps code in the window
226912-image.png

This will enable to run the PS script to run at the scheduled time

Tags:

No responses yet

Leave a Reply

Your email address will not be published.

Recent Comments
Add External Contacts in Microsoft Teams