[Request] Schedule-based connection speed limits

Cooking recipe:

  • install syncthing.exe as service “syncthing”
  • load unixtools sed.exe to c:\windows
  • add a scheduled job to cron/windows scheduler
  • execute batch in job
  • net stop syncthing
  • sed -i -e s/Limit…=0/Limit…=100000/gI config.xml
  • net start syncthing

You can pass the limit as a command line parameter from the scheduled job. Have one job on the limit start hour and one job on the end hour to reset back to 0 ( = unlimited ).

1 Like