I'm trying to configure a new function in my Golang custom handler that uses a timer trigger. But I haven't been able to find any documentation for it.
- I've reviewed examples on the Azure/Azure-Functions github, but a timer trigger is missing: https://github.com/Azure/Azure-Functions
- I've also reviewed the custom handler documentation at the microsoft azure/azure-functions page but it was only for HTTP triggers: https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-other?tabs=go%2Cwindows
It's unclear how the function is executed in main.go on the cron schedule configured in function.json. The intent is to execute the function once an hour. This is the /functionname/function.json file I'm using:
{
"bindings": [
{
"name": "timer",
"type": "timerTrigger",
"direction": "in",
"schedule": "0 0 * * * *"
}
]
}