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 

Exit Code 2 from Task

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Scheduler
View previous topic :: View next topic  
Author Message
ComHem_ITSupport



Joined: 19 Jan 2007
Posts: 16

PostPosted: Fri Jan 19, 2007 4:14 am    Post subject: Exit Code 2 from Task Reply with quote

Hello,
I get an error from scheduler that I doesn´t understand.
Files are sent as they should so there shouldn´t be an error.

Ip Address = 127.0.0.1
Host Name = server
Task Type = Chain
Task Title = TaskName
Exit Code = 2
=====================
outputlog:

Jan 19, 2007 12:45:02 PM To reduce disk writes and CPU usage, data will be logged in batches after multiple transfers (~5000 characters). Please wait...

Jan 19, 2007 12:45:02 PM To reduce disk writes and CPU usage, data will be logged in batches after multiple transfers (~5000 characters). Please wait...

Jan 19, 2007 12:45:02 PM Ftp - TaskName-put - End Instance = 387 , Exit Code = 0 , Runtime (ms) = 815

Jan 19, 2007 12:45:02 PM Ftp : TaskName-put : exit code = 0

Jan 19, 2007 12:45:02 PM Chain always stops at this step

Jan 19, 2007 12:45:02 PM Chain - TaskName - End Instance = 379 , Exit Code = 2 , Runtime (ms) = 1097

Jan 19, 2007 12:45:02 PM Email Notification satisfied for profile = default

Jan 19, 2007 12:45:02 PM Added Recipient: To::ouremail@ourcompany.com

Jan 19, 2007 12:45:02 PM Adding Attachment: inputs/outputLog.jsd

Jan 19, 2007 12:45:02 PM Adding Attachment: inputs/activityLog.jsd

Jan 19, 2007 12:45:02 PM Adding Attachment: TaskLogs/TaskName

Jan 19, 2007 12:45:02 PM FTP session summary:
Total files = 0
Total local files backed up = 0
Total local files failed to back up = 0
Total remote files backed up = 0
Total remote files failed to back up = 0
Total files moved to final staging folder = 0
Total files failed to move to final staging folder = 0
Total source files deleted = 0
Total source files failed to delete = 0
Total temporary files failed to rename = 0
Total files meeting filename criteria (C1) = 0
Total files meeting transfer criteria per date modified & criteria C1 (C2) = 0
Total files meeting transfer criteria based on new modified files & criteria C2 = 0
Total failed transfers = 0
Total files downloaded = 0


Any ideas?
What does "Exit Code = 2" mean anyway?

Thanks for any help...
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Fri Jan 19, 2007 7:30 am    Post subject: Reply with quote

In a chain, the exit code is set equal to the step number if all steps are not completed. If all steps are completed, exit code = 0. In your case there is no error condition. Generally, users structure their chains so that they stop at an intermediate step only in case of error.

However, it will be a good to have an option to 'allow user to bypass this exit code = step' being set. I have listed this option for possible inclusion into version 7.23 due out next week.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Scheduler 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