| View previous topic :: View next topic |
| Author |
Message |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Mon Jun 02, 2008 10:21 am Post subject: Copy task - send email if files are copied |
|
|
User support question:
i would like to create a chain that contains a file move followed by an email so that i get an email if the file move finds files and moves them. however the 'copy files' job return the same exit code (0) whether or not it finds files to move. is there a better way to handle what i am trying to accomplish? |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Mon Jun 02, 2008 10:21 am Post subject: |
|
|
Use a Variable Monitor task to monitor the number of files copied. The variable is:
Copy::FilesCopied
if variable value > 0, then run the email task. |
|
| Back to top |
|
 |
|