fix result handler deleting exported files
This commit is contained in:
@@ -188,16 +188,16 @@ Public Class DDWDResultHandler
|
||||
Logger.Info("Keine aktiven Profile WMResulthandler vorhanden")
|
||||
notcompleted = True
|
||||
End If
|
||||
Try
|
||||
For Each _file In clsCURRENT.TEMP_FILES
|
||||
'Dim oFile As New FileInfo(_file)
|
||||
'If (DateTime.UtcNow - oFile.CreationTimeUtc > TimeSpan.FromDays(1)) Then
|
||||
System.IO.File.Delete(_file)
|
||||
'End If
|
||||
Next
|
||||
Catch ex As Exception
|
||||
'Try
|
||||
' For Each _file In clsCURRENT.TEMP_FILES
|
||||
' 'Dim oFile As New FileInfo(_file)
|
||||
' 'If (DateTime.UtcNow - oFile.CreationTimeUtc > TimeSpan.FromDays(1)) Then
|
||||
' System.IO.File.Delete(_file)
|
||||
' 'End If
|
||||
' Next
|
||||
'Catch ex As Exception
|
||||
|
||||
End Try
|
||||
'End Try
|
||||
|
||||
_database.Execute_non_Query("UPDATE TBWMRH_KONFIGURATION SET LAST_TICK = GETDATE() WHERE GUID = 1")
|
||||
If oFirstRun = True Then
|
||||
|
||||
Reference in New Issue
Block a user