MS Config EDMIAppServerConfig

This commit is contained in:
2020-12-18 08:00:17 +01:00
parent 4a4121d8e6
commit a007f3d658
19 changed files with 527 additions and 429 deletions

View File

@@ -24,6 +24,21 @@ Public Class JobRunner
_Logger = LogConfig.GetLogger()
_firebird = Firebird
_mssql = MSSQL
Try
Dim directory As New IO.DirectoryInfo(_LogConfig.LogDirectory)
For Each file As IO.FileInfo In directory.GetFiles
If (Now - file.CreationTime).Days > 29 Then
file.Delete()
Else
Exit For
End If
Next
Catch ex As Exception
End Try
End Sub
Public Async Sub Start()