hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Monitoring based on copy task exit code

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Monitoring Tasks
View previous topic :: View next topic  
Author Message
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Thu Mar 12, 2015 10:20 am    Post subject: Monitoring based on copy task exit code Reply with quote

Email Support Request:
Does the copy task create change its exit code when it copies a file? I want to send an email notification and base it on the exit code of a Copy task.

The FTP task has its exit code changed to -100 when it sends a file. But the copy task exit code =0 whether or not it copies files.

Do we have a workaround if it does not change the exit code?
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Thu Mar 12, 2015 10:24 am    Post subject: Reply with quote

The copy task does not change its exit code.

You can run a variable monitor task and monitor the Files Copied variable. (Files Copied > 0).

The variable monitor task changes its exit code to -100 if criteria is satisfied. Base the email notification on this variable monitor task.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Monitoring Tasks All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group