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

doInfinity works only with seconds #107

Open
rkokhatskyi opened this issue Mar 21, 2024 · 6 comments
Open

doInfinity works only with seconds #107

rkokhatskyi opened this issue Mar 21, 2024 · 6 comments

Comments

@rkokhatskyi
Copy link

Bug description

Hello, I noticed when I use seconds function for building SchedulerBuilder it works, but it fails in all other cases:

image

Cases

  1. Cron job expression ❌
  2. seconds { every(15) }
  3. minutes { every(1) }
  4. EveryMinuteScheduler
  5. EveryHourScheduler
  6. EveryDayOfMonthScheduler
  7. other shortcuts too from SchedulerShortcuts.kt

In all the cases other than seconds, it does not work and runs constantly

Version used

2.2.9 (latest)
https://github.com/InsanusMokrassar/krontab/releases/tag/v2.2.9

Copy link

Welcome with your first issue

@InsanusMokrassar
Copy link
Owner

Hi, thank you, will take a look

InsanusMokrassar added a commit that referenced this issue Mar 21, 2024
@InsanusMokrassar
Copy link
Owner

Could you please check your sample with the project built on 2.4.0?

@rkokhatskyi
Copy link
Author

Could you please check your sample with the project built on 2.4.0?

Just tried to fetch the version, looks like it is not yet available

image

@rkokhatskyi
Copy link
Author

Could you please check your sample with the project built on 2.4.0?

Just tried to fetch the version, looks like it is not yet available

image

apparently it was a typo, but 2.3.0 is not available as well

@InsanusMokrassar
Copy link
Owner

I afraid you must add it as a dependency from github packages or build and install it locally (commands ./gradlew clean, ./gradlew build and ./gradlew publishToMavenLocal)

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

2 participants