TimerTrigger annotation doesn't cover 'useMonitor' and 'runOnStartup'
YusukeTobo opened this issue · 1 comments
YusukeTobo commented
I'd like to enable runOnStartup in function.json, but as far as I see the TimerTrigger anntation class, it's not supported.
Additionally, I found that we cannot change useMonitor into false via TimerTrigger anntation.
Should we support these settings in the anotation?
YusukeTobo commented
Workaround for the issue😉
- mvn package
- manually edit function.json at target/azure-functions/[appname]/[function name]/function.json
- mvn com.microsoft.azure:azure-functions-maven-plugin:deploy