1
0
mirror of https://github.com/bitwarden/server synced 2026-01-01 08:03:23 +00:00

Add identifiers to Triggers and Jobs (#1230)

This commit is contained in:
Oscar Hinton
2021-03-22 20:54:12 +01:00
committed by GitHub
parent 7309a37bdc
commit 905b4b06da
5 changed files with 66 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ namespace Bit.Notifications.Jobs
public override async Task StartAsync(CancellationToken cancellationToken)
{
var everyFiveMinutesTrigger = TriggerBuilder.Create()
.WithIdentity("EveryFiveMinutesTrigger")
.StartNow()
.WithCronSchedule("0 */30 * * * ?")
.Build();