Bug Fix
This commit is contained in:
@ -112,7 +112,7 @@ public class TimedHostedService : IHostedService, IDisposable
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!_BackgroundMethods.IsPrimaryInstance())
|
||||
if (_BackgroundMethods.IsPrimaryInstance())
|
||||
_BackgroundMethods.LogPathCleanUpByWeekCallback();
|
||||
}
|
||||
catch (Exception e) { _Log.Error(e, "Error: "); }
|
||||
@ -132,7 +132,7 @@ public class TimedHostedService : IHostedService, IDisposable
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!_BackgroundMethods.IsPrimaryInstance())
|
||||
if (_BackgroundMethods.IsPrimaryInstance())
|
||||
_BackgroundMethods.EDAOutputArchiveCallback();
|
||||
}
|
||||
catch (Exception e) { _Log.Error(e, "Error: "); }
|
||||
@ -152,7 +152,7 @@ public class TimedHostedService : IHostedService, IDisposable
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!_BackgroundMethods.IsPrimaryInstance())
|
||||
if (_BackgroundMethods.IsPrimaryInstance())
|
||||
_BackgroundMethods.EdaDataCollectionPlansCallback();
|
||||
}
|
||||
catch (Exception e) { _Log.Error(e, "Error: "); }
|
||||
|
Reference in New Issue
Block a user