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

Skip option for scheduling .everySecond(skip: 10) #130

Closed
paulober opened this issue Apr 24, 2024 · 1 comment
Closed

Skip option for scheduling .everySecond(skip: 10) #130

paulober opened this issue Apr 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@paulober
Copy link

Is your feature request related to a problem? Please describe.
It's ugly to run a job like every 10 seconds as the system only offers seconds or minute but no quantifiers.

Describe the solution you'd like
Maybe an option to skip a certain amount of triggers like skip: 10 can still trigger every second but would only invoke the job on the 10th and then on the 20th and so on.

Describe alternatives you've considered
And option to specify after how many seconds or minutes to trigger.

Additional context

@paulober paulober added the enhancement New feature or request label Apr 24, 2024
@0xTim
Copy link
Member

0xTim commented Aug 20, 2024

Closing this in favour of #133 - you can work around it with duplicating the code to schedule at the intervals you want but we could do with a better API

@0xTim 0xTim closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants