Expose setPeriodic (..., flexMillis) in termux-job-scheduler
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the termux-job-scheduler entry point and trace how the existing interval argument reaches Android's periodic scheduling API. Add support for the flexMillis value described in the issue, preserving the existing interval behavior. Done means the command accepts the additional value and schedules the job with the requested flex window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- cli, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100