I just want to know any of your experiences scheduling daily jobs that perform tasks like data upload with POST API request and then update the local database with room. My goal is to perform this kind of task daily arround 23:59 hours.
I´ve tried One Time unique work and then reschedule it in the same worker after finish the task, this was working pretty good on some devices but it failed in other ones.
I also tried a Periodic Unique Work, but this is pretty unstable it only works propertly if the device is plugged to power source if not it delays the work many times.
What do you recomend me to use for this kind of work the most acurate posible the goal is to perform the work when betwen 23:59 and 06:00 to avoid to interfere in the user experience during the day.