Ric355, are you alive?
What's status on development of new version?
Can you please add the option to CLOSE the utility after it has been opened, and after sync?
Something like this:
1) App opens
2) Attempts to sync
3) If IP found, 6 pings, syncs and CLOSES the application
4) If IP not found etc. it CLOSES the application.
This way, it would be very easy for us to create scripts that run this util before hibernation (by simply launching ezsync before hibernation), and easily determine when hibernation can occur (i.e., wait until EZsync has closed before continuing with the script and hibernating etc.)
RIght now, there is really no way for us to script something that would force/attempt an EZsync, and determine when it has finished syncing (or finished 'trying').
I say it would be a nice option, because most people might just want to leave it open all the time etc...
EDIT: This is the reason why I am wanting this so badly!
Utility to change behavior of ATX power button (e.g.: launch an app)
Better still would be the option to shutdown/suspend/hibernate after sync..Originally Posted by justintime
mutch better, yesOriginally Posted by justintime
Yes, I'm here.Originally Posted by justintime
Development is finished except for one problem I've got to iron out. I've been working on a new web site which needs to be finished before I can launch it.
Bravellir the option to shutdown after sync is in the forthcoming release.
With regard to the original request - I think you're really looking for something that will initiate a sync, wait until it completes, and then return, so that you can incorporate it into a script. This shouldn't need EZSync to close. EZSync is meant to be running all the time and I'm not going to change that concept. One question I have though - don't you have a time limit on the Opus like there is on the Carnetix? i.e. when the Carnetix sends a signal to the power button to get the PC to shutdown, it starts a timer which, once it expires, power is disconnected from the PC. If this is the same on an Opus then you could find the power getting pulled before you've shut down or even finished syncing.
Well, I am looking for a way to detect when the sync has completed. If EZsync closes after completion, that is an easy way to detect completionOriginally Posted by ric355
You say you are adding support for shutdown after sync; would you consider adding an option for Hibernation after sync too? If that is implemented, there is no longer a need to 'detect' sync completion, because the reason I was trying to detect such state was to initiate a hibernation command afterwards.
Note: better yet, I would love to see option to run a program/script after sync completes. Full flexibility and power to the user!
That's a good question. I think this can easily be bypassed anyway by setting the Opus to shutdown in 60 mins instead of 10 secs. We would be sending a hibernate/shutdown command after sync completes anyways, so 60 mins would never really be reached.Originally Posted by ric355
See post #7 in this thread: Standby/Hibernate upon finishing syncing?Originally Posted by justintime
I could be wrong on this, but if you send a hibernate command to the PC from software, it may not cause your power supply to shut off. Hence your supply might remain active powering everything else (eg screen) for the full 60 minutes or whatever the setting is. See post #2 in the same thread. This could flatten your car battery.Originally Posted by justintime
All I'm saying is be careful - hibernate / shutdown / sleep functionality is already implemented but you need to be aware of the power related issues surrounding it.
ric355, I'm the one who requested the "hibernate/suspend after completion" feature. I'd second justintime. If you could add the ability to run a script/exe after synching is done (ie, after EZSync detects a change and launches the syncing process), that would be great. This way, we users are totally responsible for any power related issues.
I myself use a laptop so power is not a concern for me. My laptop can run a full 2 hours without power.
The way this would work is that EZSync still runs silently in the background and applies changes automatically. The user doesn't need to initiate anything. The only difference is it would run a script after a change in the file structure has been detected and synced up. This way it will be our problem if the script we write screws things up (like incorrectly shutting down the PC as we drive off the driveway).
ALl I really want is a way to allow this to happen:
1) I switch my car off
2) Ezsync immediatley launches (or maybe its already launched) and attempts to sync
3) It completes sync process (whether there are files to sync or not is irrelevant)
4) PC hibernates/shutdown etc.
I dont think this will be possible with new version, based on what I read!