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:
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user