Skip to content

Commit

Permalink
# 2024.08.08
Browse files Browse the repository at this point in the history
- Scheduler failed to launch when task name had spaces.
  • Loading branch information
drweb86 committed Aug 8, 2024
1 parent d3ac931 commit 4cfd531
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
7 changes: 7 additions & 0 deletions help/Version History (Changelog).md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 2024.08.08

## Bug Fixes

- Scheduler failed to launch when task name had spaces.
Manual actions are needed. Open task in editor and click save one by one. Scheduler tasks will be recreated.

# 2024.08.02

## Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions sources/BUtil.Windows/Services/TaskSchedulerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public void Schedule(string taskName, ScheduleInfo scheduleInfo)
new ExecAction
{
WorkingDirectory = Directories.BinariesDir,
Arguments = $"Task={taskName}",
Path = WindowsSupportManager.ConsoleBackupTool
Arguments = $"\"Task={taskName}\"",
Path = $"\"{WindowsSupportManager.ConsoleBackupTool}\""
});
}

Expand Down
5 changes: 4 additions & 1 deletion sources/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,7 @@ if ($LastExitCode -ne 0)
}

Write-Output "The following artefacts are produced. Copy them to \\nas\butil-website."
Get-ChildItem "..\Output"
Get-ChildItem "..\Output"

Write-Output "A. Copy them to \\nas\butil-website."
Write-Output "B. Release to win-get."
2 changes: 1 addition & 1 deletion sources/ubuntu-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Fail on first error.
set -e

version=2024.08.02
version=2024.08.08

sourceCodeInstallationDirectory=/usr/local/src/butil
binariesInstallationDirectory=/usr/local/butil
Expand Down

0 comments on commit 4cfd531

Please sign in to comment.