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

Job runs multiple times #1585

Open
xH-xxx opened this issue May 24, 2024 · 5 comments
Open

Job runs multiple times #1585

xH-xxx opened this issue May 24, 2024 · 5 comments

Comments

@xH-xxx
Copy link

xH-xxx commented May 24, 2024

I scheduled a job by cron string ("40 4 * * *"). In theory, it should run only one time a day. But i found this job run twice occasionally.
The project log shows that the interval between these two job triggers is only 1 second. This has happened only three times in the past month, i still can't find the reason. Can anyone help, why does this happen?

@xH-xxx
Copy link
Author

xH-xxx commented May 24, 2024

The configuration of agenda is shown in the picture

Screenshot_20240524_160459

@windward-hive
Copy link

use pulse

@xH-xxx
Copy link
Author

xH-xxx commented Jun 3, 2024

use pulse

So it's a problem with the old Agenda that caused it happen?May I ask you the reason why this happen,which part of Agenda can cause this issue,thank you

@ozzyonfire
Copy link

Noticed the same thing happening on my heroku instance. In some cases, the job will immediately restart and is called multiple times. Only one job is created in the database, however.

@windward-hive
Copy link

@ozzyonfire agenda is buggy and unmaintained. use pulse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants