Windows scheduled task

Hi

How can I pause syncthing in windows the best way?

The only thing I have in mind right now is : 7.00 AM taskkill /f /im synctrayzor.exe taskkill /f /im syncthing.exe

01.00 AM start synctrayzor again

But what if some day syncthing isn’t done synching at 7.00 AM?

What do you everyone else do? Running windows :slight_smile:

Best regards

Could do a DIY solution with Syncthing’s REST API (https://docs.syncthing.net/rest/system-pause-post.html), or switch from SyncTrayzor (which seems to be a dormant project) to another Syncthing wrapper that’s actively maintained and has built-in support for pausing via CLI: https://forum.syncthing.net/t/yet-another-syncthing-tray/8502.

Whenever Syncthing is paused, it’ll pick up where it left off when it’s unpaused, so other than files being out of sync while the pause is in effect, it’s not going to break anything if that’s what you’re wondering.

If you install as a Windows service (GitHub - Bill-Stewart/SyncthingWindowsSetup: Syncthing Windows Setup), you can schedule a stop and start of the service.

But I am wondering what is the purpose of doing it?

Thanks to both of you, I’ll try look for another solution rather than Synctrayzor

I want it to sync at night, not in the middle of the day, a lot of GB’s slowing down the internet on both sides

Just be aware that NOT running syncthing ALL the time increases the risk of conflicts.

Yeah. I’m just waiting to buy a bigger NAS :money_with_wings: :money_with_wings:

So I can go back to FreeFileSync

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.