Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Scheduler doesn't fetch returncode shell script

776878Jun 3 2010 — edited Aug 6 2013
When i run the following script on the command line, i get the appropriate exit code (1). But when i run the same script true the oracle scheduler i get exit code (0).

#!/bin/ksh
/.../exit1.sh
echo $? >test.txt



And exit1.sh is just

#!/bin/ksh
exit 1

The oracle schedueler doesn't fetch the exit code.

i'm using an 11g db.

Thx for you help!

Greetzz,

Tim
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2013
Added on Jun 3 2010
18 comments
10,902 views