简体   繁体   English

Autosys框作业未完成

[英]Autosys box job not finishing

I am new to Autosys and facing difficulty setting up some jobs. 我是Autosys的新手,面临一些工作设置的困难。 I have a box job containg a few command jobs. 我有一个盒装作业,其中包含一些命令作业。 One of those command jobs may or may not run. 这些命令作业之一可能会运行,也可能不会运行。 The problem is when this job doesn't run(it remains in activated state), it keeps the box running. 问题是,当此作业不运行时(它保持激活状态),它将使该框保持运行状态。 I have to terminate this job or the box every time such situation arises. 每当出现这种情况时,我都必须终止这项工作或工作。

Is there a way to handle this? 有办法解决吗?

Thanks 谢谢

The answer depends on how your jobs are supposed to work, so posting JIL or a more detailed description would help, but: 答案取决于您的工作应该如何工作,因此发布JIL或更详细的描述会有所帮助,但是:

  • You can add a "box_success" JIL attribute on your box job to define conditions that will cause the box to complete even without all the jobs running or completing. 您可以在装箱作业上添加“ box_success” JIL属性,以定义导致装箱完成的条件,即使没有运行或完成所有作业。
  • You could consider moving the optional job outside of the box so that this issue goes away. 您可以考虑将可选作业移出包装盒,这样就可以解决此问题。 But consider that the box could then complete while the optional job is running so make sure that you don't then have jobs running out of sequence or overlapping when they shouldn't. 但是请考虑一下,该框可以在可选作业运行时完成,因此请确保您不要让这些作业不按顺序运行或在不需要的时候重叠。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM