Skip to content

Commit 0087863

Browse files
Merge pull request #266681 from ggailey777/patch-2
[Functions][Pythonv2] Fix the timer trigger definition
2 parents 01f1875 + 58f527e commit 0087863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-functions/functions-bindings-timer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Timer trigger for Azure Functions
33
description: Understand how to use timer triggers in Azure Functions.
44
ms.assetid: d2f013d1-f458-42ae-baf8-1810138118ac
55
ms.topic: reference
6-
ms.date: 03/06/2023
6+
ms.date: 02/19/2024
77
ms.devlang: csharp
88
# ms.devlang: csharp, java, javascript, powershell, python
99
ms.custom: devx-track-csharp, devx-track-python, devx-track-extended-java, devx-track-js
@@ -99,7 +99,7 @@ import azure.functions as func
9999
app = func.FunctionApp()
100100

101101
@app.function_name(name="mytimer")
102-
@app.schedule(schedule="0 */5 * * * *",
102+
@app.timer_trigger(schedule="0 */5 * * * *",
103103
arg_name="mytimer",
104104
run_on_startup=True)
105105
def test_function(mytimer: func.TimerRequest) -> None:

0 commit comments

Comments
 (0)