Autosys CLI Interface


Standard disclaimer: Use the information that follows at your own risk. If you screw up a system, don't blame it on me...
mailto: dkoleary@olearycomputers.com

Since the bank's autosys environment doesn't seem to want to play well with my Linux X11 setup, I'm stuck using the command line for some of it. That's all well and good, but it'd be good to remember the commands:

Command Description
autorep -J ${job_name} -q Displays the job definition thusly:
# autorep -J SAPU_PRD_S_ARCH10 -q

/* ----------------- SAPU_PRD_S_ARCH10 ----------------- */ 
insert_job: SAPU_PRD_S_ARCH10   job_type: c 
box_name: SAPU_PRD_S_ARCH10_B
command: /usr/local/bin/filesys_monitor.sh /oracle/PRD/saparch 5
machine: sapp1d01
#owner: root
permission: gx,ge,wx,we,mx,me
description: "Test SAPARCH ON SAPP1D01 every 15min, If > 5% Return Code = 0"
alarm_if_fail: 0
sendevent -E ${event_name} -J ${job_name} Sends the requested event to the autosys master.
Possible event_names:
  • STARTJOB
  • KILLJOB
  • DELETEJOB
  • FORCE_STARTJOB
  • JOB_ON_ICE
  • JOB_OFF_ICE
  • JOB_ON_HOLD
  • JOB_OFF_HOLD
  • CHANGE_STATUS
  • STOP_DEMON
  • CHANGE_PRIORITY
  • COMMENT
  • ALARM
job_depends -c -J ${job_name} Lists out current status and dependencies for ${job_name}