1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00

get rid of premium renewal jobs for braintree

This commit is contained in:
Kyle Spearrin
2019-02-14 10:18:27 -05:00
parent f2aac6b8a0
commit f70ececa9d
8 changed files with 13 additions and 99 deletions

View File

@ -26,17 +26,16 @@ namespace Bit.Billing.Jobs
.WithCronSchedule("0 0 21 * * ?", x => x.InTimeZone(timeZone))
.Build();
Jobs = new List<Tuple<Type, ITrigger>>
{
new Tuple<Type, ITrigger>(typeof(PremiumRenewalRemindersJob), everyDayAtNinePmTrigger)
};
Jobs = new List<Tuple<Type, ITrigger>>();
// Add jobs here
await base.StartAsync(cancellationToken);
}
public static void AddJobsServices(IServiceCollection services)
{
services.AddTransient<PremiumRenewalRemindersJob>();
// Register jobs here
}
}
}