@Devi Thanks for reaching out. It seems that you are trying to deploy a timer-triggered Azure Function that periodically pulls updates from a website and augments a MongoDB collection hosted on Atlas. The CRON expression you provided ("* *\5 * * * * *") is not valid. The correct format for a CRON expression is as follows the following CRON expression triggers the function every 5 minutes:
0 */5 * * * *
In this expression, the first field (seconds) is set to 0, which means that the function is triggered at the start of each minute. The second field (minutes) is set to */5
, which means that the function is triggered every 5 minutes. The remaining fields are set to *
(wildcard), which means that the function is triggered every day of every month.
Regarding the issue with the function not being triggered in UTC time, by default, Azure Functions use UTC. If your function is not triggering as expected, double-check the time zone settings in your function app configuration. You can explicitly set the time zone by adding the WEBSITE_TIME_ZONE
application setting in the Azure portal.
do try and let me know incase of further queries, I would be happy to assist you.