diff --git a/src/CMSMicroservice.WebApi/Program.cs b/src/CMSMicroservice.WebApi/Program.cs index 7eeae10..37131fe 100644 --- a/src/CMSMicroservice.WebApi/Program.cs +++ b/src/CMSMicroservice.WebApi/Program.cs @@ -215,7 +215,7 @@ using (var scope = app.Services.CreateScope()) cronExpression: "5 0 * * 0", // Sunday at 00:05 options: new RecurringJobOptions { - TimeZone = TimeZoneInfo.Utc + TimeZone = TimeZoneInfo.Local }); app.Logger.LogInformation("✅ Hangfire recurring job 'weekly-commission-calculation' registered (Cron: 5 0 * * 0 - Sunday 00:05 UTC)"); @@ -229,7 +229,7 @@ using (var scope = app.Services.CreateScope()) recurringJobId: "chatika-account-activation", methodCall: job => job.ExecuteAsync(CancellationToken.None), cronExpression: "*/5 * * * *", - options: new RecurringJobOptions { TimeZone = TimeZoneInfo.Utc }); + options: new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); app.Logger.LogInformation("✅ Hangfire recurring job 'chatika-account-activation' registered (Cron: */5 * * * * - Every 5 minutes)"); } diff --git a/src/CMSMicroservice.WebApi/appsettings.Production.json b/src/CMSMicroservice.WebApi/appsettings.Production.json index 5ff993e..b976ad4 100644 --- a/src/CMSMicroservice.WebApi/appsettings.Production.json +++ b/src/CMSMicroservice.WebApi/appsettings.Production.json @@ -66,7 +66,7 @@ "Audience": "domain_api" }, "Seq": { - "ServerUrl": "https://seq.afrino.co", + "ServerUrl": "http://seq-svc:5341", "ApiKey": "oxpvpUzU1pZxMS4s3Fqq" } }