Monday, July 23, 2012

Force Starting Jobs in a Box

using command line,

sendevent -E FORCE_STARTJOB -J job_name
 
To inactive the job,
sendevent -E CHANGE_STATUS -S INACTIVE -J job_name

Start Job - STARTJOB Starts the job if the Dependencies starting conditions are met. This action ignores Date/Time starting conditions, but it does not ignore job dependency starting conditions, do not use it on jobs in boxes.

Kill Job - KILLJOB Kills selected job.

Force Start Job - FORCE_STARTJOB Starts the job regardless of whether the starting conditions have been met.

On Hold - JOB_ON_HOLD Places job on hold which mean job can not be started. If job is on STARTING or RUNNING state, you can not put job on HOLD.

Off Hold - JOB_OFF_HOLD takes the job off hold which mean if jobs starting conditions are met, job will start.

In Ice - JOB_ON_ICE bringing the job on deactivate state. You can not place job on ice if the state is on STARTING or RUNNING state.

Off Ice - JOB_OFF_ICE takes the job off ice which mean reactivating the job definition. The job on ice will start next time when starting conditions are met.

2 comments:

  1. very helpful, try to add more tricky questions which in turn will help in cracking autosys interview, thanks in advance!

    ReplyDelete
  2. Created a job in autosys but not getting force start after manual force start. Any reason?

    ReplyDelete