我正在尝试从命令行运行Autosys命令。 我收到了一个剧本:
static_dir
我将该脚本复制到/ tmp / autosys_foo
这是$ IXP_HOME / bin的内容:
#!/bin/bash
export JAVA_HOME=/casper/dist/java/sunjre/1.6.0_25/exec
export IXP_HOME=/casper/dist/tpcommon/ixp/latest/common
export PATH=$PATH:$IXP_HOME/bin:$JAVA_HOME/bin
export AUTOSERV=PAA
export IXP_SERVER_URL="http://usa-autosys-p.casper.com"
当我跑步时,我什么都没得到
$ ls -ltr /casper/dist/tpcommon/ixp/latest/common/bin/
total 112
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixviewfile
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixsendevent
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixjob_depends
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixjil
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixflags
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixautostatus
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixautorep
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixautocal_asc
-rwxrwxr-x 1 root root 10463 Feb 4 2016 ixagent
-rw-rw-r-- 1 root root 385 Feb 4 2016 a
当我运行绝对路径时,我收到此错误
$ /tmp/autosys_foo ixautorep CASPER_AUTOSYS_JOB -q