flutter_workmanager icon indicating copy to clipboard operation
flutter_workmanager copied to clipboard

Is this package suitable for daily backup task?

Open bahman2000 opened this issue 2 years ago • 1 comments

We need a daily backup at 8:00 AM. This is not a immediate task and it is not a problem for us that the task is executed with a delay. For example, if it is executed at 8:10 (may be because of doze mode), there is no problem. We don't want to use the AlarmManager because of the battery consumption problem. Instead, we want to use this package and register a periodic task via registerPeriodicTask method. We should calculate the initial delay based on the current device time and task execution time. Is this package suitable for this deferrable work or we have to use the AlarmManager?

bahman2000 avatar Jul 11 '23 14:07 bahman2000

You should check Background Work Overview.

mym0404 avatar Oct 13 '23 15:10 mym0404