Skip to content

Commit

Permalink
changed cron schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell Laferla committed Sep 6, 2023
1 parent 0b0c8a0 commit 8df9576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion monitoring_daily/function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
app = func.FunctionApp()

@app.function_name(name="monitoring_daily")
@app.schedule(schedule="0 5 * * MON",
@app.schedule(schedule="0 5 * * 1-5",
arg_name="mytimer",
run_on_startup=False,
use_monitor=True)
Expand Down
4 changes: 2 additions & 2 deletions monitoring_weekly/function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
app = func.FunctionApp()

@app.function_name(name="monitoring_weekly")
@app.schedule(schedule="0 5 * * MON",
@app.schedule(schedule="0 5 * * 1",
arg_name="mytimer",
run_on_startup=False,
run_on_startup=True,
use_monitor=True)

def main(mytimer: func.TimerRequest) -> None:
Expand Down

0 comments on commit 8df9576

Please sign in to comment.