Sync only at night - Graceful stop or Pause function

Advertisement

savva
Joined:
Posts:
1

Sync only at night - Graceful stop or Pause function

Hello,

I would like to know if there is anyway to schedule the script to only run at night for example 2am-6am.

I have created a scheduled task and it works properly but I want it to stop at 6am. I know you can force the script to end using Scheduled task but i'm wondering if there is a more graceful way of stopping it. For example after a certain time for it to finish the last transfer its doing and then stopping.

The reason why i would prefer not killing the transfer is more of a corruption issue on the files. So far WinSCP has done a great job at resuming and continuing the transfer.

Any suggestions are welcomed.

Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Sync only at night - Graceful stop or Pause function

No, there's no such option.

You would have to implement the synchronization manually using WinSCP .NET assembly.

Reply with quote

Advertisement

You can post new topics in this forum