fix 增加日志调试

This commit is contained in:
2024-02-21 18:15:15 +08:00
parent 7d20cf48df
commit a9c8ab7d00
3 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ public class JobPack : BaseAppPack
public override void Invoke(IServiceProvider serviceProvider)
{
RecurringJob.AddOrUpdate<SyncOrganizationJob>("SyncSap", s => s.SyncOrgInfo(), "0 0 2 * * ?", new RecurringJobOptions
RecurringJob.AddOrUpdate<SyncOrganizationJob>("SyncSap", s => s.RunAsync(), "0 0 2 * * ?", new RecurringJobOptions
{
TimeZone = TimeZoneInfo.Local
});