d4rken-org / sdmaid-se

SD Maid 2/SE is Android's most thorough cleaning tool.
https://play.google.com/store/apps/details?id=eu.darken.sdmse
GNU General Public License v3.0
2.29k stars 361 forks source link

v0.21.0beta0-foss: Bug Scheduled task / app cleaner #1064

Open MarkyMarkDE opened 3 months ago

MarkyMarkDE commented 3 months ago

Sometimes the follow happen and the Schedule will abort

Screenshot_20240316-200221

Sorry can't provide logs, then I didn't know before if the error comes up or not 🤷.

eu.darken.sdmse-v0.21.0-beta0-2100000-FOSS-BETA-211b3648.apk Pixel 7 Android 14 Patch 05/03/24 Not rooted

But this happens not now first, this happens since longer.

d4rken commented 3 months ago

How long do the scheduled operations take when running with the app open? There are some background limits where the app's workers are stopped and restarted later, if exceeding like 15minutes? :thinking:

MarkyMarkDE commented 3 months ago

How long do the scheduled operations take when running with the app open? There are some background limits where the app's workers are stopped and restarted later, if exceeding like 15minutes? 🤔

Maybe 5-10 minutes or something, not really long. But in this case here, the Scheduler will be killed and not executed (or not completely executed) by exception and I have not manually canceled SD-Maid. The Job will also not restarted after a while, for today all is done. Job starts at 20 o'clock and at 20:02 o'clock the exception will be triggered and the rest of the job crashes. This happens since longer but not always, what's the exact reason I didn't know. Since my problems with the Scheduler, I do restart really every day my device's and also after all App Updates. Since I do this, the Scheduler works flawlessly - but is this behavior really in your sense? I think the App should always run successful, equal how long the device is running.

MarkyMarkDE commented 3 months ago

Today I have looked at the watch: a complete Scheduled task takes 4 mins. on my Phone

MarkyMarkDE commented 3 months ago

Same again in v0.22.0beta0-foss

Screenshot_20240321-200820

MarkyMarkDE commented 2 months ago

Next one Screenshot_20240418-200218

0.23.3-beta0-foss