pause / resume certain folders on schedule?

I have a couple really big folders that I like to occasionally sync, but sometimes I have to pause it because we live in the country and it affects our other streaming demands. What would be excellent would be an option to schedule those folders to only sync during a specific time (e.g. 1 am to 6 am)

Thank you!

The api is your oyster, we can’t satisfy everyone.

I’m not sure if that means I’m totally out of luck or if there’s a way I can tell a certain folder to stop activity and start up again with a bash script.

I found this: https://docs.syncthing.net/dev/rest.html

and this: https://docs.syncthing.net/dev/events.html

My guess is that maybe I could somehow activate this: “POST /rest/system/pause” , but that sounds like it pauses the whole system…

Is there a resource that you could point me to so I could learn how pause and restart a folder syncing from a bash script? (getting the script to fire at the right times is easy)

Thanks, Dave

The endpoint takes arguments as explained in the docs. You can find plenty of guides how to post things from bash via curl.

thank you :slight_smile: