gpt4 book ai didi

quartz-scheduler - Quartz Scheduler可以连续运行作业吗?

转载 作者:行者123 更新时间:2023-12-04 18:11:53 26 4
gpt4 key购买 nike

我正在研究使用Quartz Scheduler,并且想知道是否可以按时间而不是按时间调度作业,而可以在另一个作业完成时进行调度。因此,当作业A完成时,它将启 Action 业B。完成后,它将启 Action 业C,依此类推。

Job A -> Job B -> Job C -> Job A... continuously.

这是工作的正确工具吗?还是我应该寻找其他东西?

最佳答案

check out Quart内置的 JobChainingJobListener (粗体字):

Keeps a collection of mappings of which Job to trigger after the completion of a given job. If this listener is notified of a job completing that has a mapping, then it will then attempt to trigger the follow-up job. This achieves "job chaining", or a "poor man's workflow".



没错,您正在寻找一个流程或工作流引擎。看一看

关于quartz-scheduler - Quartz Scheduler可以连续运行作业吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12134903/

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