开发者

How can I run an autosys job without running dependents?

I wish to make a change to an autosys job. After I make the change:

  1. I want to test it by running it in isolation without running any dependents.
  2. After I have finished testing, I want it to be in a "normal" state; i.e. so that it (and its dependents) run automatically as usual the next day.

This seems like a pretty elementary requirement for a scheduling system.

Realistically the only way to satisfy #1 seems to be to put the dependents ON_HOLD for the duration of the test.

The trouble is that when I take them off hold at the end (for #2), they will immediately check their conditions and run - this violates re开发者_C百科quirement #1.

I could instead try satisfying condition #2 by setting them to INACTIVE, but I'm told that doing so immediately sets the box such a job may be in to SUCCESS - which presumably may again trigger dependents, violating #1.

Any thoughts?


Set all the dependents to SUCCESS before running the job.


If you want to run job manually, you send FORCE_START event to that job. It ignores dependencies. Job will be started and after done set to SUCCESS or FAILURE.

If for your testing you want your job to be triggered automatically, then indeed condition of this job must be met.


You may always FORCE_START job/box. That ignores dependencies for the job/box- it will just start.

If you want to test scheduled run (and ignore dependencies) putting dependencies ON_HOLD will not help you. Job that has dependencies on ON_HOLD job will wait for dependencies to be met.

Putting dependencies ON_ICE is correct way. ON_ICE dependencies are ignored. Also, putting iced job OFF_ICE will not start them immediately-they will wait for next scheduled run.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜