Skip to content

Commit

Permalink
RELEASE_VERSION_8.4 (#108)
Browse files Browse the repository at this point in the history
 - update README.md for weekly workers
  • Loading branch information
evilthreads669966 authored Jan 1, 2021
1 parent d41a493 commit b8056f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ allprojects {
2. Add the dependency to your app's build.gradle
```gradle
dependencies {
implementation 'com.github.evilthreads669966:bootlaces:8.3'
implementation 'com.github.evilthreads669966:bootlaces:8.4'
implementation "com.google.dagger:hilt-android:2.29.1-alpha"
kapt "com.google.dagger:hilt-android-compiler:2.29.1-alpha"
}
Expand Down Expand Up @@ -102,16 +102,16 @@ scheduler.scheduleHourly(MyWorker()) //runs task once every hour and persists th
//daily worker
scheduler.scheduleDaily(MyWorker()) //runs task once every day and persists through reboot

//weekly worker
scheduler.scheduleWeekly(MyWorker()) //runs task once every week (7 days) and persists through reboot

//monthly worker
scheduler.scheduleMonthly(MyWorker()) //runs task once every month and persists through reboot

//yearly worker
scheduler.scheduleYearly(MyWorker()) //runs task once every year and persists through reboot
```
## Important To Know
- You can schedule as many workers as you want both persistent and one time workers.
- Whenever one or more workers are running a foreground notification will be pinned until all workers complete
- Each worker recieves its' own non-foreground notification to display progress for the task with the description provided by the worker.
## License
```
Copyright 2019 Chris Basinger
Expand Down

0 comments on commit b8056f6

Please sign in to comment.