Autosys Command to Activate Job
To activate or start an autosys job you can use the STARTJOB event with the sendevent command like this:
sendevent -E STARTJOB -J myJob1
You can also use the FORCE_STARTJOB event like this:
sendevent -E FORCE_STARTJOB -J myJob1
You might want to take the job off ice if it is frozen:
sendevent -E OFF_ICE -J myJob1
In most of these cases you are just going to be transitioning the job into a STARTING or RUNNING status. Technically, to actually put a job into the ACTIVATED status the box job that contains the job needs to be running but the job needs to not be in a RUNNING state yet.
- See our AutoSys Guide Here.