SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Failed jobs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Failed jobs
Author Message
Claudio Grazioli



Joined: 01 Nov 2005
Posts: 1

Post Failed jobs Reply with quote

Hi

I'm currently trying out the 30days demoversion.

I have the following problem: I have a job that starts
an executable. Depending on success/failure the
exe returns 1 (succeeded) or 2 (failed).

The properties of the job depending are the following
error handling are the following:
- Successful exit code: '1'
- Notification: Send e-mail on 'Job Finish' and

'Job Error'
- Restart this job if it fails: not checked
- Disable this job on error: not checked
- Ignore execution erros for this job: not checked

I expect that if the exe returns 2 (= failed) the
I would get an e-mail message informing me that
the job failed.

Instead, the following happens:
- I don't get an e-mail
- The log contains the following entries:
1. 'Job started'
2. 'Process finished with exit code 2'
3. 'Job failed. Executable file not found'

My questions are:
- Why don't I get the e-mail (the e-mail notification
works in case the job finishes successfully)?
- Why do I have in the log message 3 'Executable file
not found'?

thanx for any hints!

Tue Nov 01, 2005 8:28 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7975

Post Re: Failed jobs Reply with quote

There are probably 3 different issues.
1. You haven't saved your changes or trying to run the job manually using TEST mode. In this case notification actions do not work, you just run the job part of the job.
2. You haven't configured email settings correctly. The email is sent and you don't get it or email sending fails.
3. The job command line is not pointing to the correct file. Did you type it or browsed and pasted? Do the path or program name contain spaces? If yes, did you enclose the name in double quotes?

Start with the email. Make sure in Tools/Options menu General tab you have email server configured properly. In the job properties check you entered correct recipient's email address (not just some name), email profile (if using MAPI or Notes email interface) or email address of sender (if using SMTP) and password.
Check the job log using Tools/Log Viewer for additional errors related to the email processing.

: Hi

: I'm currently trying out the 30days demoversion.

: I have the following problem: I have a job that starts
: an executable. Depending on success/failure the
: exe returns 1 (succeeded) or 2 (failed).

: The properties of the job depending are the following
: error handling are the following: - Successful exit code: '1'
: - Notification: Send e-mail on 'Job Finish' and

: 'Job Error'
: - Restart this job if it fails: not checked
: - Disable this job on error: not checked
: - Ignore execution erros for this job: not checked

: I expect that if the exe returns 2 (= failed) the
: I would get an e-mail message informing me that
: the job failed.

: Instead, the following happens: - I don't get an e-mail
: - The log contains the following entries: 1. 'Job started'
: 2. 'Process finished with exit code 2'
: 3. 'Job failed. Executable file not found'

: My questions are: - Why don't I get the e-mail (the e-mail notification
: works in case the job finishes successfully)?
: - Why do I have in the log message 3 'Executable file
: not found'?

: thanx for any hints!

Tue Nov 01, 2005 10:20 am View user's profile Send private message
Claudio



Joined: 03 Nov 2005
Posts: 1

Post Re: Failed jobs Reply with quote

: There are probably 3 different issues.
: 1. You haven't saved your changes or trying to run the job manually using
: TEST mode. In this case notification actions do not work, you just run the
: job part of the job.

Changes are saved.

: 2. You haven't configured email settings correctly. The email is sent and you
: don't get it or email sending fails.

E-Mail is configured correctly, because I get a mail if the job succeeds.

: 3. The job command line is not pointing to the correct file. Did you type it
: or browsed and pasted? Do the path or program name contain spaces? If yes,
: did you enclose the name in double quotes?

The command line is pointing to the correct location
because the executable is actually run. The error
that it can't find the executable is only displayed
after the executable has finished and returned a value
that indicates the error.
And I think that's the strange thing. Why does it search
for the executable (and not find it) after it has
already run?

Regards
Claudio

Thu Nov 03, 2005 2:59 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 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
Design by Freestyle XL / Flowers Online.