Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
OBIEE 12c - run agent from shell script

Hi community,
I need to run some agents from shell script.
My purpouse is to run an agent when some procedures are done...and I never know the right timing.
I knew since OBIEE 11 some utility was provided...I cannot find anything for 12c.
I tryed to inspect a little bit agents from dev tools; and I found this POST request
http://myOBIEEserver:9502/analytics/saw.dll?RunIBotNow
that with this parameter
AlertPath=myAgentPath
let me run an agent calling an url from browser:
http://myOBIEEserver:9502/analytics/saw.dll?RunIBotNow&AlertPath=myAgentPath
Then I tryied calling this url with wget/curl via shell script but it looks it doesn't work.
Is there any more conventional instrument in order to call agent from script?
kind regards,
Marco
EDIT
I found this note; maybe is the way...keep the post updated
Answers
-
I am pointing this out so much recently I think I should be on commission for Gianni ;-)
0 -
MarcoB wrote:Then I tryied calling this url with wget/curl via shell script but it looks it doesn't work.
What does "it doesn't work" mean?
Because technically ... it works (or it would be impossible to run agents from the tool itself.
0 -
Hi Gianni,
it means that i cannot receive the report;
terminal gives me html code of the obiee page...maybe it needs Js and some other stuff to complete.
Another try...done just a couple minutes ago was running my url with chrome in headless mode.
It looks a better solution: I got the report in my inbox!
Think I'll follw this way:
i.e. in windows:
chrome.exe --headless --remote-debugging-port=9222 "http://myOBIEEserver:9502/analytics/saw.dll?RunIBotNow&nQUser=MyUser&nQPassword=MyPassword&AlertPath=myAgentPath"
0