kelektiv / node-cron

Cron for NodeJS.
MIT License
8.48k stars 626 forks source link

The job is repeated multiple times every 6 hours #897

Closed xiaomoziyi closed 3 weeks ago

xiaomoziyi commented 1 month ago

Description

The job is repeated multiple times every 6 hours, my version is 2.4.4 image

Expected Behavior

Should only be executed once

Actual Behavior

Executed multiple times

Possible Fix

No response

Steps to Reproduce

In my local area, I use vite-node to do global hot updates. I don’t know if this will have any impact.

Context

This task will cause my task to be executed multiple times

Your Environment

sheerlox commented 3 weeks ago

Hi, with so little information about your setup, we're going to have a hard time debugging the issue.

This is probably not a bug in our library but a misconfiguration issue on your side, whether in the code or the architecture.

That being said, we'd be glad to offer assistance if you could share more information.

zeeshan7417 commented 3 weeks ago

"Hey, @xiaomoziyi which file do I need to work on? Can you tell me the file name?"

sheerlox commented 3 weeks ago

Closing this issue for now, feel free to re-open if you can share more information.

You might also want to consider joining our Discord server so we can provide support in a more casual form than on GitHub.