mirror of
https://github.com/bitwarden/server
synced 2026-01-04 17:43:53 +00:00
user premium validation job
This commit is contained in:
@@ -56,8 +56,8 @@ namespace Bit.Jobs
|
||||
case "validate-organizations":
|
||||
await _licensingService.ValidateOrganizationsAsync();
|
||||
break;
|
||||
case "validate-users":
|
||||
// TODO
|
||||
case "validate-users-premium":
|
||||
await _licensingService.ValidateUsersAsync();
|
||||
break;
|
||||
case "refresh-licenses":
|
||||
// TODO
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
0 * * * * root dotnet /jobs/Jobs.dll -d /jobs -j alive >> /var/log/cron.log 2>&1
|
||||
0 */6 * * * root dotnet /jobs/Jobs.dll -d /jobs -j validate-organizations >> /var/log/cron.log 2>&1
|
||||
30 */12 * * * root dotnet /jobs/Jobs.dll -d /jobs -j validate-users-premium >> /var/log/cron.log 2>&1
|
||||
|
||||
# An empty line is required at the end of this file for a valid cron file.
|
||||
Reference in New Issue
Block a user