Stopping/Pausing Syncthing automatically over night


I want to stop/pause Syncthing automatically over night at one of my machines. My idea is to create two cron jobs with:

  1. Morning: syncthing -unpaused
  2. Evening: syncthing -paused

Is this the recommended way, or are there better solutions? What exactly is the difference between syncthing and syncthing -unpaused?



These two commands will not do what you want. They only work when starting Syncthing, not when the program is already running.

You could probably use the REST API to pass commands to the already running instance of Syncthing. A more brute-force method would be to simply exit and restart Syncthing at specific time.

1 Like

Thanks. I will try the simple brute-force attempt using pkill.

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