Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

定时任务多次执行 #1488

Open
iuzhao opened this issue Jul 4, 2024 · 1 comment
Open

定时任务多次执行 #1488

iuzhao opened this issue Jul 4, 2024 · 1 comment
Labels
bug Something isn't working schedule Schedule related

Comments

@iuzhao
Copy link

iuzhao commented Jul 4, 2024

Bug 描述
我在使用社区版v0.6.3 , 创建了多个定时任务, 每天固定时间执行一次, 但是发现有些任务会重复执行,重复的次数不一定, 1-4次, 目前一共有4个节点, 我怀疑是和节点有关系。【这些任务执行节点是随机】

如果是和节点有关系 ,我是不是可以多创建节点, 任务按照固定节点执行

@iuzhao iuzhao added the bug Something isn't working label Jul 4, 2024
@tikazyq tikazyq added the schedule Schedule related label Jul 4, 2024
@iuzhao
Copy link
Author

iuzhao commented Jul 8, 2024

经过测试初步结论:如果定时任务指定某一个节点,任务不会重复执行; 如果定时任务是随机节点,则可能会出现任务多次执行,并且和节点的数量有关。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working schedule Schedule related
Projects
None yet
Development

No branches or pull requests

2 participants