User Tools

Site Tools


software:microsoft:windows:taskscheduler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
software:microsoft:windows:taskscheduler [2021/05/21 17:25] – [How do I run a ps1 elevated as a scheduled job] superwizardsoftware:microsoft:windows:taskscheduler [2021/06/26 00:53] – [How to run cmd from Task Scheduler] superwizard
Line 24: Line 24:
  
 ====== How to run cmd from Task Scheduler ====== ====== How to run cmd from Task Scheduler ======
 +
 +<WRAP round box >
 +Syncthing: Request revert of a receive only folder.
 +
 +Program/Script:\\  
 +
 +    cmd
 +
 +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 > <WRAP round box >
Line 58: Line 73:
  
 Add Arguments Optional:\\   Add Arguments Optional:\\  
-/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 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""
 +</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>
software/microsoft/windows/taskscheduler.txt · Last modified: 2022/02/12 03:30 by superwizard