1、我把属性cube的语句写到了aaa.sh和bbb.sh文件里,刷新cube使用的是cognos用户,在cognos用户下执行sh aaa.sh是可以正确刷新cube的。
2、我写了一个Cube.sh文件,内容如下:
sh /opt/aaa/aaa.sh >> /opt/log/aaa.log
sh /opt/bbb/bbb.sh >> /opt/log/bbb.log
3、我在cognos用户下设置了一个定时任务 0 22 * * * sh /opt/Cube.sh 定时任务执行时报错 (TR0418) This model was built with a language setting that differs from the current setting. Some characters will be incorrectly displayed. Do you want to continue? [->Yes](这个模型是建立在与当前设置不同的语言设置。一些字符将被错误显示。你想继续吗?),有哪个大神有好的解决办法的吗?
收起