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

Expose setPeriodic (..., flexMillis) in termux-job-scheduler #703

Open
kuseni opened this issue Aug 25, 2024 · 0 comments
Open

Expose setPeriodic (..., flexMillis) in termux-job-scheduler #703

kuseni opened this issue Aug 25, 2024 · 0 comments

Comments

@kuseni
Copy link

kuseni commented Aug 25, 2024

Expose setPeriodic (..., flexMillis) in termux-job-scheduler for more accurate job run.

setPeriodic (long intervalMillis) - Specify that this job should recur with the provided interval, not more than once per period. You have no control over when within this interval this job will be executed, only the guarantee that it will be executed at most once within this interval.

vs

setPeriodic (long intervalMillis, long flexMillis) - Specify that this job should recur with the provided interval and flex. The job can execute at any time in a window of flex length at the end of the period.

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

1 participant