feat: add IsActive field to UserClubFeatures for admin management
This commit is contained in:
@@ -35,7 +35,7 @@ public class DayaLoanCheckWorker
|
||||
[AutomaticRetry(Attempts = 3)]
|
||||
public async Task ExecuteAsync()
|
||||
{
|
||||
_logger.LogInformation("DayaLoanCheckWorker started at {Time}", DateTime.UtcNow);
|
||||
_logger.LogInformation("DayaLoanCheckWorker started at {Time}", DateTime.Now);
|
||||
|
||||
try
|
||||
{
|
||||
@@ -114,7 +114,7 @@ public class DayaLoanCheckWorker
|
||||
recurringJobManager.AddOrUpdate<DayaLoanCheckWorker>(
|
||||
"daya-loan-check",
|
||||
worker => worker.ExecuteAsync(),
|
||||
"*/15 * * * *", // هر 15 دقیقه
|
||||
"*/01 * * * *", // هر 15 دقیقه
|
||||
TimeZoneInfo.Local
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user