Skip to content

Commit

Permalink
Run weekly-department-recipients-sync only on monday
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathanio123 committed Sep 3, 2024
1 parent 851b04b commit 7633424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public DepartmentResourceOwnerSync(
/// <exception cref="Exception"></exception>
[FunctionName("weekly-department-recipients-sync")]
public async Task RunAsync(
[TimerTrigger("0 05 00 * * *", RunOnStartup = false)]
[TimerTrigger("0 05 00 * * MON", RunOnStartup = false)]
TimerInfo timerInfo, CancellationToken cancellationToken
)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public WeeklyDepartmentSummarySender(ISummaryApiClient summaryApiClient, INotifi
}

[FunctionName("weekly-department-summary-sender")]
public async Task RunAsync([TimerTrigger("0 0 8 * * 1", RunOnStartup = false)] TimerInfo timerInfo)
public async Task RunAsync([TimerTrigger("0 0 8 * * MON", RunOnStartup = false)] TimerInfo timerInfo)
{
var departments = await summaryApiClient.GetDepartmentsAsync();

Expand Down

0 comments on commit 7633424

Please sign in to comment.