command job not running

Hi,

I have an autosys box job and 2 command jobs. When i force start the box job the command jobs are moving to 'Active' state but are not running. I have tried various options for the start times and run windows but doesnt seem to work. Any help is appreciated

 
update_job: job1.jil job_type: b 
owner: xxxxx
permission: gx 
date_conditions: 1 
run_calendar: "Weekends"
start_times: "14:30" 
description: "Jil for auto rebooting WL instances each weekend." 
job_terminator: 1 
alarm_if_fail: 1 
 
 
update_job: job2.jil job_type: c 
box_name: job1.jil
command: /tmp/shutdown.sh
machine: server
owner:xxxxx 
permission: gx
date_conditions: 1
start_times: "14:30"
description: "Stop Managed Server" 
box_terminator: 1
std_out_file: /tmp/$AUTO_JOB_NAME`date +%m%d`.out 
std_err_file: /tmp/$AUTO_JOB_NAME`date +%m%d`.err 
alarm_if_fail: 1
 
update_job: job3.jil job_type: c 
box_name: job1.jil
command: /tmp/mgdstart.sh
machine: server 
owner: xxxxx
permission: gx
date_conditions: 1
start_times: "14:35"
condition: success(job2.jil)
description: "Start Managed server" 
std_out_file: /tmp/$AUTO_JOB_NAME`date +%m%d`.out 
std_err_file: /tmp/$AUTO_JOB_NAME`date +%m%d`.err 
alarm_if_fail: 1

The command jobs by themselves run successfully but not when i put them in a box job.

Appreciate any help.

Thanks,

Hello,

My issue is resolved. I'm facing a new problem now.

I would like to have the following in the command field

command: cd /tmp/server/x1/stop_script <instancename>

However, when i use this in the autosys jil file the stop_script is not running but the job is ending successfully.

I put the command value in temp.sh and referenced the same in the command field and it's working fine.

I am looking for a way out of this so i can avoid using the .sh script. Any help is appreciated.

Thanks