Get email alert if no files found

For technical support visit http://support.2brightsparks.com/
Post Reply
iversa
Newbie
Newbie
Posts: 5
Joined: Tue Mar 24, 2015 3:00 pm

Get email alert if no files found

Post by iversa » Fri Jun 08, 2018 4:22 pm

I'm backing up files from a folder that a program drops into that folder daily. I have no idea if the program is working at all times and the only way I know is by checking that folder daily. Is there any way in Syncback Pro to have it alert me if no new files are found?

cliffhanger
Expert
Expert
Posts: 815
Joined: Tue May 31, 2011 5:59 pm

Re: Get email alert if no files found

Post by cliffhanger » Sat Jun 09, 2018 4:54 pm

Hi, there is no 'email (or not) logic' that leverages 'nothing was copied' to trigger a process/decision. Nor (conversely) is there any decision based purely on 'something was copied'; there is an optional trip-switch, but it is based on differences (so will also trigger if there were (only) deletions, for example). In any case, it would generate 'an email when you do not want one' and 'no email when you do' - not ideal...

The best workaround I can suggest is to set your profile to email regardless, but, for lightning-fast appraisal, include a copy-count in the email Subject so that instead of the default

%PROFILENAME%

you edit the Subject to read

%PROFILENAME% " COPIED TOTAL = " %COPIEDTOTAL% (or %MOVEDTOTAL% if applicable)

or similar. That way you get a visual (email) confirmation (every time) that the profile ran at all (else you are making an assumption, which may be unwise...) and the Subject tells you the desired situation either way at a glance (without needing to open the email, etc). You might also want to set it not to include the log file (given that the Subject alone will presumably tell you what you want to know), which should keep your inbox load even lighter.

The various settings can all be found on Log > Email Log and/or Log > Email Log > Advanced settings pages.


NOTE: %PROFILENAME% (the default Subject), %COPIEDTOTAL% and/or %MOVEDTOTAL% are some of the many (hundreds) of Variables available for use at various stages of a profile run. Help > Search > 'variables' for the full list and guidance.

cliffhanger
Expert
Expert
Posts: 815
Joined: Tue May 31, 2011 5:59 pm

Re: Get email alert if no files found

Post by cliffhanger » Sat Jun 09, 2018 5:16 pm

CORRECTION: the Subject string should not need any quotes around the (any) text component, only Variable-delimiters (% characters) around the actual variable-names. Hence, a correct example string would look like this

%PROFILENAME% COPIED TOTAL = %COPIEDTOTAL%

Post Reply