Automation account PowerShell runbook taking wrong time
Hi folks,
I am stuck with an issue with Azure Automation account wherein I am using a PowerShell runbook to automate reboot for some servers. I've scheduled the runbooks to run at 12:05 AM UK Time but scripts are running ~1 hour behind schedule.
I've set some variables in script to call out the time when script is being run, and I am retrieving the output in the runbooks result, there I got to know that script is running on some different time and not on the scheduled timings.
Runbook schedule:
Runbook Log and script runtime output:
Piece of code to retrieve the time during runtime:
Any help to this would be appreciated.
Thanks in advance!