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

Cron scheduled tasks can run multiple times in the same second #10854

Open
rymsha opened this issue Jan 9, 2025 · 0 comments
Open

Cron scheduled tasks can run multiple times in the same second #10854

rymsha opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels

Comments

@rymsha
Copy link
Contributor

rymsha commented Jan 9, 2025

Cron allows to run tasks with minimum interval - , but if task is fast enough, nextExecution may return "now"

2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
2025-01-09 10:51:59,999 [com.enonic.app.booster-108-job-thread-1] DEBUG c.e.a.b.storage.NodeCleanerBean - Scavenge
@rymsha rymsha added the Bug label Jan 9, 2025
@rymsha rymsha self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant