HyperionPlanning版本11.1.2.4
ODI版本11.1.1.9
在使用HyperionPlanning的过程中,我们经常会碰到一个问题,那就是如何定期或根据需求执行规则&规则集,以完成对数据的逻辑计算等。
定时执行规则&规则集很简单,官方提供了CalcMgrCmdLineLauncher.sh(windows系统下为CalcMgrCmdLineLauncher.cmd),通过命令行的方式,而已实现对规则、规则集的触发,再辅助以类似于windows下的定时计划,定时执行命令脚本,即sh(或cmd)脚本+定时计划的方式,实现定期执行规则&规则集的需求。
(PS:根据官方文档说明,云版本开始,可以直接在管理控制台中设定规则&规则集的定时执行)
CalcMgrCmdLineLauncher.cmd语法如下,详情可查询官方文档
CalcMgrCmdLineLauncher.cmd [-f:passwordFile] /A:appname /U:username /D:database [/R:business rule name | /S:business ruleset name] /F:runtime prompts file [/validate]
CalcMgrCmdLineLauncher Parameters
Parameter |
Purpose |
Required? |
[-f:passwordFile] |
If an encrypted password file is set up, you can use this option as the first parameter in the command line to run the utility with the full file path and |