Refresh Environment Variable Without Re-Opening

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

Refresh Environment Variable Without Re-Opening

Postby shull on Tue Oct 04, 2016 8:58 am

We have multiple schedules to control a rather complex synchronization topology (the complexity is a functional requirement in our environment, global enterprise, failover servers, near-real-time data needs, etc) This works very well and has been tried and true for some time.

However, we need to update many of these profiles frequently to simply switch a subdirectory. This happens multiple times per day, once for each session we run (name of the session), and is the same across many profiles. The problem is, the (session) subdirectory naming scheme can't be comprised out of the existing variables that Syncovery provides.

Updating a system environment variable would be absolutely ideal to update all profiles and reduce the risk of an accidental type-o, or profile configuration change. This works, and Syncovery will pick up the environment variable upon application start, but it will not update after it is changed in the system. We would have to close and re-start the application and the scheduler, which isn't really an option as the scheduler is essentially constantly in the process of handling other jobs.

Would updating syncovery to refresh the environment variables at the start of every job (either attended or unattended scheduler) be an option in a future update? Or provide another way for users to create their own custom "syncovery-wide" variables?

This way, we can simply update an environment variable to update 30+ sync profiles. This would remove the need to even edit profiles for us. This will also reduce the risk of the operator making an accidental change inside the profile, since they won't go into the edit dialog anymore (which we have had happen before, an accidental switch from smart tracking to exact mirror and "move" has caused much grief before)

Thanks,
-Scott
shull
 
Posts: 7
Joined: Tue Oct 04, 2016 7:58 am

Re: Refresh Environment Variable Without Re-Opening

Postby superflexible on Thu Oct 06, 2016 1:56 am

Hello,
yes I will find a solution for you. Which version are you currently using?
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Refresh Environment Variable Without Re-Opening

Postby shull on Thu Oct 06, 2016 8:30 am

Fantastic!
We are currently using 7.25a build 211.
We have no problem upgrading, but may not be able to do so until December (change control, etc.)
shull
 
Posts: 7
Joined: Tue Oct 04, 2016 7:58 am

Re: Refresh Environment Variable Without Re-Opening

Postby superflexible on Thu Oct 06, 2016 10:20 am

Hello,
you would only need to update for free, to a newer 7.x version, but I don't have the solution yet.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Refresh Environment Variable Without Re-Opening

Postby shull on Thu Oct 06, 2016 10:33 am

That's no problem, and we would be happy to update to receive custom variables as a feature. Thanks!
shull
 
Posts: 7
Joined: Tue Oct 04, 2016 7:58 am

Re: Refresh Environment Variable Without Re-Opening

Postby shull on Fri Jan 13, 2017 7:57 am

Hello, I'd kindly like to ask if there there an update to this request?

Our use case is we have quite a few profiles with slightly different settings, but one common path element that needs to change all at once. A custom global variable would solve this issue for us.

Thanks!
shull
 
Posts: 7
Joined: Tue Oct 04, 2016 7:58 am

Re: Refresh Environment Variable Without Re-Opening

Postby superflexible on Fri Feb 17, 2017 7:31 am

Hello,
very sorry for the delay, I will look into it.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Refresh Environment Variable Without Re-Opening

Postby shull on Fri Feb 17, 2017 10:36 am

Thanks very much!
Either an environment variable or some kind of global variable that allows us to update file paths on multiple profiles all at once without having to stop the scheduler, or re-start syncovery (killing jobs in process) would be awesome!
shull
 
Posts: 7
Joined: Tue Oct 04, 2016 7:58 am

Re: Refresh Environment Variable Without Re-Opening

Postby shull on Sat Apr 08, 2017 6:44 am

Hello,
Is there an update to this feature request?
Our racing season has started and this would be quite helpful!
Thanks!
shull
 
Posts: 7
Joined: Tue Oct 04, 2016 7:58 am

Re: Refresh Environment Variable Without Re-Opening

Postby sonic9 on Sat Apr 08, 2017 7:33 am

+1 :-)
sonic9
 
Posts: 4
Joined: Sun Aug 28, 2016 11:21 am

Next

Return to Windows Support * new forum: www.syncovery.com/forum

cron