Batch files

English Support for Syncovery on Windows.
Post Reply
Bob
Posts: 2
Joined: Thu Jul 04, 2024 5:07 pm

Batch files

Post by Bob »

Hello,

is it possible to run a batch file and wait xx seconds before starting the backup and after that run another batch file ?
The first batch file will wake on lan a destination pc and the last one will turn it off.

Thanks
Bob
tobias
Posts: 1948
Joined: Tue Mar 31, 2020 7:37 pm

Re: Batch files

Post by tobias »

Hello,
yes, please see the dialog "Execute before/after", which you can get via the checkmark on the "Job" tab sheet in the profiles.

The special directives for delays are explained on the dialog.

For example:
execute before:
*060*C:\Scripts\WakeRemotePC.bat

execute after:
C:\Scripts\ShutdownRemotePC.bat

If the batch file has only one line, you may be able to put that line into Syncovery directly.

For example:
SHUTDOWN.EXE -m \\BackupPC
Bob
Posts: 2
Joined: Thu Jul 04, 2024 5:07 pm

Re: Batch files

Post by Bob »

Thank you, it works !
Post Reply