Finalize hourly inventory configuration

This commit is contained in:
2025-04-03 20:48:03 -04:00
parent eb928a7c56
commit 57f42a0e47
4 changed files with 44 additions and 30 deletions

View File

@@ -17,7 +17,7 @@ namespace PartSource.Automation.Jobs
private readonly ILogger<ExecuteSsisPackages> _logger;
// TODO: set from config
private readonly string[] _ssisPackages = {"Parts Availability" };
private readonly string[] _ssisPackages = {"Parts Price" };
public ExecuteSsisPackages(EmailService emailService, IConfiguration configuration, SsisService ssisService, ILogger<ExecuteSsisPackages> logger)
{
@@ -36,7 +36,7 @@ namespace PartSource.Automation.Jobs
{
try
{
// _ftpService.Download($"{package}.txt");
_ftpService.Download($"{package}.txt");
_ssisService.Execute($"{package}.dtsx");
_logger.LogInformation($"Execution of SSIS package {package} completed successfully.");