所以我在我的数据库中有一个用户,我想用它来运行一个。.bat 文件。最简单的方法是使用 Oracle 作业。
所以我创建了我的工作,但是当我尝试运行它时,它给了我以下错误:
ORA-27370: job slave failed to launch a job of type EXECUTABLE
ORA-27300: OS system dependent operation:accessing job scheduler service failed with status: 2
ORA-27301: OS failure message: The system cannot find the file specified.
ORA-27302: failure occurred at: sjsec 6a
ORA-27303: additional information: The system cannot find the file specified.
出于好奇,我创建了相同的作业,在其架构中使用 SYS 用户的确切设置(是的,我知道这不是推荐的......),当我运行该作业时,它运行良好。所以我认为可能涉及一些权限,所以我给了我的用户,SYS 用户拥有的所有系统特权和角色,看看这是否是问题所在。
但是,我遇到了同样的错误..任何想法为什么这在 sys 模式中有效,而不是在我的用户模式中,尽管用户设置了所有权限?:|