1

I'm very new to AutoSys jobs and I have following commands stored in single jil file. let's call it, test.jil.

insert_job: job_A command: echo 'mock' description : mock job A

sendevent -E JOB_ON_ICE -J job_A

I'm trying to run jil < test.jil. it doesn't recognize sendevent. How can i get it working ?

user4900074
  • 1,695
  • 4
  • 18
  • 24

2 Answers2

2

Actually there is a change in one of the last service packs. For your JIL you can specify status:

insert_job: test_job2
command:dir
machine:localhost
status:on_ice

The valid parms are:

FAILURE, INACTIVE, ON_HOLD, ON_ICE, ON_NOEXEC, SUCCESS, or TERMINATED.
David Drager
  • 208
  • 1
  • 6
1

In jil file we can write commands like insert_job, delete_job,update_job but sendevent is different command which should be triggered by autosys agent. So you can separately create executable file in which you can write that sendevent command and execute it through CLI.

Thanks.

user3655259
  • 46
  • 1
  • 4