Autosys is one of the most popular job scheduling tools in the software development lifecycle process. It is a task scheduler created using a batch program or UNIX script. To create/run an Autosys job, a user must have either a LINUX or Windows machine. Here are some of the heavily used Autosys Commands.
- Command to define a job
$jil -f <bash file directory/Name of bash file.jill> -i <Environment info> -l -v -o
- Checking the status of the job
$autorep -J <NAME OF JOB>
- Start a job
$sendevent -E START JOB -J <NAME OF JOB>
$sendevent -E FORCE_START_JOB -J <NAME OF JOB>
- Kill a job
$sendevent -E KILL JOB -J <NAME OF JOB>
- Put a job On HOLD
$sendevent -E JOB_ON_HOLD -J <NAME OF JOB>
- Put a job Off HOLD
$sendevent -E JOB_OFF_HOLD -J <NAME OF JOB>
- Put a job On Ice
$sendevent -E JOB_ON_ICE -J <NAME OF JOB>
- Put a job Off Ice
$sendevent -E JOB_OFF_ICE -J <NAME OF JOB>
- Change the status of the job (for example change to Success status
$sendevent -E CHANGE_STATUS -S SUCCESS -J <NAME OF JOB>
- Command to check the status of the Autosys job automatically
while true <Enter>
do <Enter>
autorep -j <Name of the Job> <Enter>
sleep 10 <Enter>
done <Enter>
This command will display the status of the job every 10 seconds
To kill this Autosys command, Press Control+C
- Killing an Autosys job using Workflow ID
First of all, get Workflow details using the following command
ps -ef | grep <LoginID>
After getting the workflow ID, kill the job using the following command
kill -9 <Workflow ID>
- To get information about the previous run
$autorep -J <NAME OF JOB> -r <No of runs back>
- To list all the jobs present in a Job box
$autorep -J %<NAME OF JOB>% -q
- To check the dependency on the job
$job_depands -c -w -J <NAME OF JOB>
The article was collected and written by Bijaya Subedi. Bijaya is currently working as an ETL tester in a DC/VA-based Mortgage Company.
Very useful article , thank you for creating this one.
Can you add more commands please on this , like how to kill a job internally etc.