gpt4 book ai didi

oracle - 时间表和 `max_failures` 属性

转载 作者:行者123 更新时间:2023-12-05 04:18:58 28 4
gpt4 key购买 nike

无法获取max_failures 思路。来自文档:

This attribute specifies the number of times a job can fail on consecutive scheduled runs before it is automatically disabled.

那么,假设我有一个时间表。它的运行次数是 100。它的失败次数是 18。它的最大失败次数是 20。

当前运行已成功完成。

我预计:如果我要破坏它 - 它会在状态 FAILED 上运行整整 20 次,之后它将更改为 BROKEN

我得到的结果:它运行了 2 次,因此失败计数为 20,尽管事实上它只是连续运行了 2 次,但计划已更改为状态 BROKEN。

我错过了什么?

最佳答案

我认为“连续预定运行”正是这个意思。如果成功,则失败计数应重置为 0。

编辑

我猜错了,抱歉。

正在阅读:http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/schedadmin004.htm

根据 Gary 的评论 - 看起来您需要手动重置失败计数。

关于oracle - 时间表和 `max_failures` 属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5188886/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com