-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not longer install the reconnect script as schedule!
- Loading branch information
Showing
5 changed files
with
3 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
description = "Small folder mirror tool for Windows using robocopy under the hood" | ||
name = "simple-folder-syncer" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
authors = ["Günther Grill <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/guenhter/robocopy-folder-mirror" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
@echo off | ||
|
||
set "BatchFilePath='%programfiles%\Simple Folder Syncer\simple-folder-syncer.exe'" | ||
set "ReconnectDrivePath='%programfiles%\Simple Folder Syncer\reconnect-netdrive.bat'" | ||
|
||
set "TaskName=Simple Folder Syncer" | ||
set "TaskDescription=Run my batch file daily" | ||
|
||
@REM https://learn.microsoft.com/de-de/windows/win32/taskschd/schtasks | ||
schtasks /create /f /tn "%TaskName%" /tr "%BatchFilePath%" /sc hourly /mo 1 | ||
|
||
@REM This is only a workaround until the actual SSHFS drive reconnecting is implemented. | ||
schtasks /create /f /tn "Reconnect SSHFS drive" /tr "%ReconnectDrivePath%" /sc minute /mo 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters