简体   繁体   English

Autosys时间条件

[英]Autosys time condition

I have job A that have time condition as 6:00 and predecessor as job B(this completes mostly by 4:00). 我的作业A的时间条件为6:00,其前身为作业B(这通常在4:00之前完成)。 Yesterday job B did not ran and today after job B completion job A started as time condition was satisfied on previous day itself. 昨天工作B没有运行,今天工作B完成后,由于前一天本身满足了时间条件,因此开始了工作A。 I want to know whether is there any way to make this time condition to be unsatisfied after that particular day completion so that there wont be any issues in next day? 我想知道在特定的一天完成之后是否有任何方法可以使此时间条件不满意,从而在第二天不会出现任何问题?

If you are using R11 version, then you can use lookback condition(refer CA manual for details) 如果使用的是R11版本,则可以使用回溯条件(有关详细信息,请参阅CA手册)

syntax is status(job_name, hhhh.mm) 语法为status(job_name,hhhh.mm)

eg condition: success(job_b,12.00) 例如条件:成功(job_b,12.00)

If job_b has become success in last 12 hrs, then condition is satisfied, else its not and the job_a doesnt run. 如果job_b在最近的12小时内成功,则满足条件,否则不满足,job_a不运行。

Hope this will do. 希望这样做。

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

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