Skip to content

Commit

Permalink
Not longer install the reconnect script as schedule!
Browse files Browse the repository at this point in the history
  • Loading branch information
guenhter committed Sep 19, 2024
1 parent 3c39fde commit b522786
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
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"
Expand Down
6 changes: 0 additions & 6 deletions install-schedule.bat
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
2 changes: 1 addition & 1 deletion package.wxs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="Simple Folder Syncer" Manufacturer="Grill Günther" UpgradeCode="9e914e0d-014b-4a92-a147-755ad34dfc26" Version="0.1.1">
<Package Name="Simple Folder Syncer" Manufacturer="Grill Günther" UpgradeCode="9e914e0d-014b-4a92-a147-755ad34dfc26" Version="0.1.2">
<Icon Id="icon.ico" SourceFile="resources\icon.ico"/>
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
<Property Id="ARPNOMODIFY" Value="no" Secure="yes" />
Expand Down
2 changes: 0 additions & 2 deletions uninstall-schedule.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
set "TaskName=Simple Folder Syncer"

schtasks /delete /tn "%TaskName%" /f

schtasks /delete /tn "Reconnect SSHFS drive" /f

0 comments on commit b522786

Please sign in to comment.