Stop Acrosync

Hello,
I am using Acrosync to copy by ssh some files (GB) between offices.
I have created two profiles, that are only different in the speed they use to syncronize the folders:
- Day: to use the sincronization during the day, when the people is in the office
- Night: to use when the people is out of the office (i can use a bigger bandwidth)

The problem is that at 8, when people comes to the office, the synchronization at night may have not be finished, so I would like to use the Day profile to limit that bandwidth used.

I have been searching in the forum and in the help of the tool (acrosyncClient64.exe -h) and I have seen nothing about it. Is there any command or any way to do this change of profiles automatically (or changing the 'Max upload speed')?

Thanks,
Alberto

Comments

  • We have a documented feature that can stop all profiles at a specified time.

    If you create a registry string HKCU\Software\Acrosync\AcrosyncClient\RestartTime with a value of 8:00, then at 8:00am all running profiles will be stopped.  And then they will be restarted when their respective scheduled times are reached.

    Do you think this will work for you?

  • OK, I have put the RestartTime in the AcrosyncClient key, with the value "8:00"
    Is it possible to have various values in this registry value? For example, "8:00,20:50", just in case the day profile is still syncronizing something in the moment that the night profile has to be started.

    Thank you very much, gchen!

  • Currently it only supports one restart time, but if it works for you I can make the change to support multiple.
  • Last night I left it with the key you told me and this morning I found it still running. So that key didn't work for me. This is the string value I had to create, because there was no "Restart time" in it.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Acrosync\AcrosyncClient]
    "RestartTime"="8:00"
  • This doesn't work if you run Acrosync as a service.  Also, your Acrosync application may read registry from HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER, depending on the privileges.
  • Thank you very much for your help. I have been able to do everything I wanted.
  • You can restart the Acrosync service by creating a task in Task Scheduler (https://stackoverflow.com/questions/36309449/how-to-restart-a-windows-service-using-task-scheduler)
Sign In or Register to comment.