I swear I have seen a setting for this but now I can't find it.
I am syncing folders on my desktop and laptop. The laptop has a network share that Syncovery, running on my desktop, connects to. So the network share (laptop) is my right hand side.
I have Syncovery set to run on schedule and RTS.
If the laptop is not on/available, I get emails saying "can't access right path".
Is there a way to have a job not run if the right hand side is not available?
Check right side exists before running job
-
- Posts: 140
- Joined: Sun Nov 20, 2022 5:11 am
-
- Posts: 140
- Joined: Sun Nov 20, 2022 5:11 am
Re: Check right side exists before running job
Hello,
if you add no schedule and only use the checkmarks under "Monitoring/Realtime", then Syncovery will only start the job if the paths are accessible.
You can also avoid the e-mails with a PascalScript, please see
https://www.syncovery.com/pascalscript/
The script can be added globally via the Advanced tab sheet of the Program Settings dialog, or in the profile via the PascalScript checkmark on the Job tab sheet.
For example, similar to this:
if you add no schedule and only use the checkmarks under "Monitoring/Realtime", then Syncovery will only start the job if the paths are accessible.
You can also avoid the e-mails with a PascalScript, please see
https://www.syncovery.com/pascalscript/
The script can be added globally via the Advanced tab sheet of the Program Settings dialog, or in the profile via the PascalScript checkmark on the Job tab sheet.
For example, similar to this:
Code: Select all
function OnSendEmail(const ProfileName:UnicodeString;
var TheSubject:UnicodeString;
var HighImportance,UseDigest:Boolean;
var ResultSummary:UnicodeString;
const SomethingWasDone,ErrorHasOccurred:Boolean;
const FailedPathsCommaText:UnicodeString;
const StartedAt,EndedAt:Double;
var RecipientsCommaText:UnicodeString;
var SenderName:UnicodeString;
var SenderEmail:UnicodeString):Boolean;
begin
Result:=Pos('t access',TheSubject)=0;
end;
-
- Posts: 140
- Joined: Sun Nov 20, 2022 5:11 am
Re: Check right side exists before running job
Will an only RTS profile work fine for a network sync like mine: Desktop <-> laptop?
Or am I better off keeping schedule and using the script to stop the emails?
Or am I better off keeping schedule and using the script to stop the emails?
Re: Check right side exists before running job
Hello,
I think scheduled + script is better.
I think scheduled + script is better.
-
- Posts: 140
- Joined: Sun Nov 20, 2022 5:11 am
Re: Check right side exists before running job
Great. Thank you!