Topic "How to stop keepuptodate?"

Author Message
mbox

Guest


hello,Very Happy

During a blackout period i need to stop keepuptodate.
Is it possible to stop it in a noninteractive way?. I mean without doing ctrl-c

Another question:

If i well understand your doc. the only way to use keepuptodate with the synchronize "Adjust remote timestamp with DST(Windows)" option is to create a session, configure it and use it in a script such as:
open mysession
keepuptodate source_dir taget_dir

The "open [ sftp|ftp|scp:// ][ <user> [ :password ] @ ] <host> [ :<port> ]" command seems not to use it, am i right?
Thanks
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
mbox wrote:
Is it possible to stop it in a noninteractive way?. I mean without doing ctrl-c

What way? Like from another process?

Quote:
If i well understand your doc. the only way to use keepuptodate with the synchronize "Adjust remote timestamp with DST(Windows)" option is to create a session, configure it and use it in a script such as:
open mysession
keepuptodate source_dir taget_dir

Yes.
_________________
Martin Prikryl
mbox

Guest


prikryl wrote:
mbox wrote:
Is it possible to stop it in a noninteractive way?. I mean without doing ctrl-c

What way? Like from another process?

Sorry, i was not precise enough.
I launch keepuptodate on a server and when i close the session all the process attached to that session are closed and keepuptodate too...Sad
So, i need to run keepuptodate as a background task or service and start or stop it like a windows service (i think this way is a better use of keepuptodate, maybe you could implement it to WinSCP).
Something like that:
winscp.com /command "keepuptodate source_dir traget_dir [srv_start|srv_stop]"

i will try if WinSCP works with svcany.exe

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
There is no way to stop "keep up to date" extenally. But maybe svcany is able to terminate the process (with brute force).
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License