Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

TimerTrigger annotation doesn't cover 'useMonitor' and 'runOnStartup'

Open
#147 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, java
Domain
backend, cloud

Research direction

Start with src/main/java/com/microsoft/azure/functions/annotation/TimerTrigger.java and compare its attributes with the timer binding configuration in the linked Azure documentation. Done means the annotation supports runOnStartup and allows useMonitor to be set to false, matching the corresponding function.json settings.

Written by the indexing model from the issue text.

Description

area:java-functions

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?

https://github.com/Azure/azure-functions-java-library/blob/dev/src/main/java/com/microsoft/azure/functions/annotation/TimerTrigger.java

https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/azure-functions/functions-bindings-timer.md#configuration

Dominant language
Java
Stars
45
Forks
49
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-functions-java-library

All issues in Azure/azure-functions-java-library

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.