Skip to content

Commit

Permalink
Merge pull request #153 from mark-szabo/v2.3
Browse files Browse the repository at this point in the history
v2.3 Fixing and upgrading Azure Functions
  • Loading branch information
mark-szabo authored Dec 17, 2024
2 parents d9ae155 + b086bc5 commit a432943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CarWash.Functions/ReminderFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public class ReminderFunction(ILogger<ReminderFunction> log)

/// <summary>
/// Checks for reservations where a reminder should be sent to drop-off the key and confirm vehicle location
/// This function will get triggered/executed every 10 minutes: "*/10 * * * *"
/// This function will get triggered/executed every 10 minutes: "0 */10 * * * *"
/// Debug every 15 seconds: "0,15,30,45 * * * * *"
/// </summary>
/// <param name="timer"></param>
[Function("ReminderFunction")]
public async Task Run([TimerTrigger("*/10 * * * *")] TimerInfo timer)
public async Task Run([TimerTrigger("0 */10 * * * *")] TimerInfo timer)
{
log.LogInformation($"Reminder function executed at: {DateTime.Now}");
var watch = Stopwatch.StartNew();
Expand Down

0 comments on commit a432943

Please sign in to comment.