Pricing updates
This commit is contained in:
@@ -63,7 +63,7 @@ namespace PartSource.Automation
|
||||
{
|
||||
options.ApiKey = builder.Configuration["Shopify:ApiKey"];
|
||||
options.ApiSecret = builder.Configuration["Shopify:ApiSecret"];
|
||||
options.ApiVersion = "2022-10";
|
||||
options.ApiVersion = "2024-10";
|
||||
options.ShopDomain = builder.Configuration["Shopify:ShopDomain"];
|
||||
|
||||
//options.ApiKey = "9a533dad460321c6ce8f30bf5b8691ed";
|
||||
@@ -92,23 +92,23 @@ namespace PartSource.Automation
|
||||
//.HasJob<StatusCheck>(options => options.HasInterval(new TimeSpan(24, 0, 0))
|
||||
// .StartsAt(DateTime.Parse("2021-04-01 08:00:00"))
|
||||
//)
|
||||
.HasJob<ExecuteSsisPackages>(options =>
|
||||
options.HasInterval(new TimeSpan(24, 0, 0))
|
||||
.StartsAt(DateTime.Today.AddHours(-24))
|
||||
)
|
||||
//.HasJob<ExecuteSsisPackages>(options =>
|
||||
// options.HasInterval(new TimeSpan(24, 0, 0))
|
||||
// .StartsAt(DateTime.Today.AddHours(-24))
|
||||
// )
|
||||
.HasJob<UpdatePricing>(options =>
|
||||
options.HasInterval(new TimeSpan(24, 0, 0))
|
||||
.StartsAt(DateTime.Today.AddHours(-22))
|
||||
.HasDependency<ExecuteSsisPackages>()
|
||||
)
|
||||
.HasJob<BulkUpdateInventory>(options =>
|
||||
options.HasInterval(new TimeSpan(1, 0, 0))
|
||||
.StartsAt(DateTime.Today.AddHours(-27))
|
||||
)
|
||||
.HasJob<PartialInventoryUpdate>(options =>
|
||||
options.HasInterval(new TimeSpan(1, 0, 0))
|
||||
.StartsAt(DateTime.Today.AddHours(-27).AddMinutes(30))
|
||||
);
|
||||
//.HasDependency<ExecuteSsisPackages>()
|
||||
);
|
||||
//.HasJob<BulkUpdateInventory>(options =>
|
||||
// options.HasInterval(new TimeSpan(1, 0, 0))
|
||||
// .StartsAt(DateTime.Today.AddHours(-27))
|
||||
// );
|
||||
//.HasJob<TestJob>(options =>
|
||||
// options.HasInterval(new TimeSpan(1, 0, 0))
|
||||
// .StartsAt(DateTime.Today.AddHours(-27).AddMinutes(30))
|
||||
//);
|
||||
|
||||
//.HasJob<PartialInventoryUpdate>(options => options.HasInterval(new TimeSpan(1, 0, 0))
|
||||
//.HasDependency<ExecuteSsisPackages>()
|
||||
|
||||
Reference in New Issue
Block a user