Hi,
I am trying to schedule an autosys job for weblogic server reboot. When i run the job it is failing with the following error:
/bin/sh: /path/stop_wls instancename: not found
The following is my jil and i dont refer to /bin/sh at all
update_job: mgd_shutdown_cmd.jil job_type: c
command: "/path/stop_wls instancename"
machine: server
permission: gx
description: "Stop Managed Server"
box_terminator: 1
std_out_file: /path/$AUTO_JOB_NAME`date +%m%d`.out
std_err_file: /path/$AUTO_JOB_NAME`date +%m%d`.err
alarm_if_fail: 1
not sure what is wrong?...do i need to add a variable somewhere???
I am sure there is nothing wrong with the script since it is working fine when i try to run it seperately. The only problem is with executing the script through an autosys job.
Any help is greatly appreciated.
Thanks,