ludusavi
ludusavi copied to clipboard
--no-gui option for running from Windows Scheduler
Currently, if you add ludusavi to the Windows scheduler, it spawns a console window with a progress bar and log. As far as I understand, the only way to avoid this is to run it from another user. But, in my opinion, this is not the best option. I would like to have a quiet mode for this case.
Hi! This behavior has more to do with Windows than Ludusavi itself, but I found a workaround that worked on my system. Give this a try:
- Define the scheduled task like this:
- Program:
C:\Windows\System32\conhost.exe - Arguments:
--headless powershell.exe -WindowStyle Hidden -NoProfile -NonInteractive -File "C:\example\ludusavi.ps1"
- Program:
- In
C:\example\ludusavi.ps1, put this content:Start-Process -WindowStyle Hidden -FilePath "ludusavi.exe" -ArgumentList "backup --force"