Skip to content

Commit

Permalink
change defaults for FileSyncApp
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskueffel committed Nov 9, 2023
1 parent 5f00b1b commit 17dff11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FileSyncApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void RunProgram()
jobOptions.Add("CleanJob", cleanJob);

var syncFromEdgeToLocal = FileSyncJobOptionsBuilder.CreateBuilder()
.WithSourcePath("\\\\192.168.214.240\\share\\hri\\production")
.WithSourcePath("\\\\edgeip\\share\\service\\production")
.WithDestinationPath("temp")
.WithFileSyncProvider(SyncProvider.SMBLib)
.WithSubfolder("left")
Expand All @@ -92,7 +92,7 @@ static void RunProgram()

var syncFromLocalToRemote = FileSyncJobOptionsBuilder.CreateBuilder()
.WithSourcePath("temp")
.WithDestinationPath("\\\\sbr-verzsrvdmz\\Schwingungsueberwachung$\\Serienspektren_Import\\" + hostname)
.WithDestinationPath("\\\\SERVER\\Share\\Subfolder\\" + hostname)
.WithFileSyncProvider(SyncProvider.FileIO)
.WithInterval(TimeSpan.FromMinutes(15))
.DeleteAfterBackup(false) //sonst werden die Daten wieder neu von der Edge geholt
Expand Down

0 comments on commit 17dff11

Please sign in to comment.