| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| software:microsoft:windows:taskscheduler [2021/05/21 01:16] – [Shortcut to run Task Scheduler "Task"] superwizard | software:microsoft:windows:taskscheduler [2022/02/12 03:30] (current) – [Shortcut to run Task Scheduler "Task"] superwizard |
|---|
| |
| • Close Task Scheduler. Right-click an empty spot on your Desktop and select New > Shortcut. In the Create Shortcut window enter the following text: | • Close Task Scheduler. Right-click an empty spot on your Desktop and select New > Shortcut. In the Create Shortcut window enter the following text: |
| C:\Windows\System32\schtasks.exe /run /tn "TaskName" | <file txt temp.txt> |
| | C:\Windows\System32\schtasks.exe /run /TN "marcus\TaskName" |
| | |
| | C:\Windows\System32 |
| | </file> |
| Where "TaskName" is the name of the task you chose, from step 3. Note: Include the quotation marks around the TaskName or it will fail to successfully run the task. Click Next and then enter a name for the shortcut. When done, click Finish. | Where "TaskName" is the name of the task you chose, from step 3. Note: Include the quotation marks around the TaskName or it will fail to successfully run the task. Click Next and then enter a name for the shortcut. When done, click Finish. |
| |
| |
| <WRAP round box > | <WRAP round box > |
| | Syncthing: Request revert of a receive only folder. |
| | |
| Program/Script:\\ | Program/Script:\\ |
| |
| |
| Add Arguments Optional: \\ | Add Arguments Optional: \\ |
| | <file txt temp.txt> |
| | /c "curl -X POST -H "X-API-Key:..." http://127.0.0.1:8384/rest/db/revert?folder=default" |
| | </file> |
| | |
| | </WRAP> |
| | |
| | |
| | <WRAP round box > |
| | Program/Script:\\ |
| | |
| | cmd |
| | |
| | Add Arguments Optional: \\ |
| | <file txt temp.txt> |
| /c ""C:\Program Files\Python37\python.exe" "C:\Users\Public\Downloads\DropboxMaintenance\DropBoxMaintenance.py" D:\Server1\Dropbox > "C:\Users\Public\Downloads\DropboxMaintenance\Dropbox\DropboxMxLog.txt"" | /c ""C:\Program Files\Python37\python.exe" "C:\Users\Public\Downloads\DropboxMaintenance\DropBoxMaintenance.py" D:\Server1\Dropbox > "C:\Users\Public\Downloads\DropboxMaintenance\Dropbox\DropboxMxLog.txt"" |
| | </file> |
| |
| </WRAP> | </WRAP> |
| |
| Add Arguments Optional: \\ | Add Arguments Optional: \\ |
| | <file txt temp.txt> |
| /c ""C:\Users\Public\Downloads\rclone-v1.51.0-windows-amd64\rclone.exe" sync --create-empty-src-dirs C:\Users\rosejasmine\Desktop\stuffforClients \\ERVER1\Dropbox\VPN\stuffforClients -v --log-file="C:\Users\Public\Downloads\rclone-v1.51.0-windows-amd64\rcloneMxLog.txt"" | /c ""C:\Users\Public\Downloads\rclone-v1.51.0-windows-amd64\rclone.exe" sync --create-empty-src-dirs C:\Users\rosejasmine\Desktop\stuffforClients \\ERVER1\Dropbox\VPN\stuffforClients -v --log-file="C:\Users\Public\Downloads\rclone-v1.51.0-windows-amd64\rcloneMxLog.txt"" |
| | </file> |
| |
| </WRAP> | </WRAP> |
| |
| Add Arguments Optional:\\ | Add Arguments Optional:\\ |
| | |
| | <file txt temp.txt> |
| /c ""C:\Users\Public\Downloads\rclone\rclone.exe" sync --create-empty-src-dirs "F:\Shared" "H:\DriveF\Shared" --log-file="C:\Users\Public\Downloads\rclone\rcloneMxLog.txt"" | /c ""C:\Users\Public\Downloads\rclone\rclone.exe" sync --create-empty-src-dirs "F:\Shared" "H:\DriveF\Shared" --log-file="C:\Users\Public\Downloads\rclone\rcloneMxLog.txt"" |
| | </file> |
| Note Double quotes\\ | Note Double quotes\\ |
| |
| if you need to mointor what happens over time, you can use --log-file=mylogfile.txt I'd recommend using it in combination with -vv to get the fullly verbose debug output for troubleshooting Depending on what user you are currently running as the default locations rclone will look for config fil… | if you need to monitor what happens over time, you can use --log-file=mylogfile.txt I'd recommend using it in combination with -vv to get the fullly verbose debug output for troubleshooting Depending on what user you are currently running as the default locations rclone will look for config fil… |
| |
| From <https://forum.rclone.org/t/rclone-mount-on-synology-that-doesnt-break-periodically/11546> | From <https://forum.rclone.org/t/rclone-mount-on-synology-that-doesnt-break-periodically/11546> |
| |
| Run from bat file\\ | Run from bat file\\ |
| | <file txt temp.txt> |
| C:\Users\Public\Downloads\RClone\rclone.exe sync --create-empty-src-dirs "C:\Users\adept\Desktop\SoftwareW10\Size Free" \\SERVER1\WSbackup\adept-backup -vv --log-file=C:\Users\Public\Downloads\RClone\rcloneMxLog.txt | C:\Users\Public\Downloads\RClone\rclone.exe sync --create-empty-src-dirs "C:\Users\adept\Desktop\SoftwareW10\Size Free" \\SERVER1\WSbackup\adept-backup -vv --log-file=C:\Users\Public\Downloads\RClone\rcloneMxLog.txt |
| | </file> |
| |
| </WRAP> | </WRAP> |
| |
| |
| | <file txt temp.txt> |
| | powershell.exe -executionpolicy bypass -file "Set-PowerShellScript.ps1" |
| | </file> |
| <code> | <code> |
| powershell.exe -executionpolicy bypass -file "Set-PowerShellScript.ps1" | |
| |
| On the system that the task will be run from, open the Windows Task Scheduler. This can be found | On the system that the task will be run from, open the Windows Task Scheduler. This can be found |
| in the Start menu, under Start > Administrative Tools. | in the Start menu, under Start > Administrative Tools. |