From b522786e0e4d55078c05433c9e8acd8a5fd1a893 Mon Sep 17 00:00:00 2001 From: guenhter Date: Thu, 19 Sep 2024 19:56:43 +0200 Subject: [PATCH] Not longer install the reconnect script as schedule! --- Cargo.lock | 2 +- Cargo.toml | 2 +- install-schedule.bat | 6 ------ package.wxs | 2 +- uninstall-schedule.bat | 2 -- 5 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 940a365..fe0d7a3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -196,7 +196,7 @@ dependencies = [ [[package]] name = "simple-folder-syncer" -version = "0.1.1" +version = "0.1.2" dependencies = [ "anyhow", "assertor", diff --git a/Cargo.toml b/Cargo.toml index 7eafc2a..665eb92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] license = "MIT" repository = "https://github.com/guenhter/robocopy-folder-mirror" diff --git a/install-schedule.bat b/install-schedule.bat index 237e796..402a2d4 100644 --- a/install-schedule.bat +++ b/install-schedule.bat @@ -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 diff --git a/package.wxs b/package.wxs index ab42b94..207501d 100644 --- a/package.wxs +++ b/package.wxs @@ -1,5 +1,5 @@ - + diff --git a/uninstall-schedule.bat b/uninstall-schedule.bat index 18353f6..ba4b1a5 100644 --- a/uninstall-schedule.bat +++ b/uninstall-schedule.bat @@ -3,5 +3,3 @@ set "TaskName=Simple Folder Syncer" schtasks /delete /tn "%TaskName%" /f - -schtasks /delete /tn "Reconnect SSHFS drive" /f