Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 12:00 - 14:00 间隔内每 15 分钟执行一次 autosys 作业。但是,一旦成功,我需要它不要重新运行。
我最初使用 start_mins 和 run_window 来设置此行为,但使用它我无法阻止作业在成功后重新运行。此外,如果我使用 start_times 设置 n_retrys,则作业会在失败后立即重新运行。
关于如何实现这一目标的任何想法?
注意:这适用于 R5 Autosys
最简单的方法是让您的进程吐出某种成功文件,并在进程启动时检查该文件是否存在。
在我工作的最后一个地方,我们就是这样做的,实现起来非常简单