We want to call the LoadPlan via external scheduler.
The call looks like this:
./startloadplan.sh <MYLOADPLAN> GLOBAL "-AGENT_URL=<MYAGENT>"
The odiagent.log shows me that the loadplan failed. But the Shell Script Return value seems to be always 0.
Is there a way to create a wrapper script for checking whether the loadplan is actually failed.
Can anyone please reply
an similar idea
create a pkg
then refresh a variable using next sql
select odiRef.getprevLog("...") from dual
then judge the variable value to decide what to next
then you can create a scenario for pkg
there is a startscen.sh, you can call it