Faerbit / android-crond

Simple Android app which implements crond using AlarmManager
MIT License
26 stars 6 forks source link

Sunday crontabs #6

Open Ji-eF opened 7 years ago

Ji-eF commented 7 years ago

Hello all ! Thanks for this very simple sheduler.

I'm facing an app FC whenever I plan a shedule on Sundays (either with a 0, or a 7 or even with 'sun'). Others days are fine.

I tried to read the code to find some relevant code, but my Java Fu is not very effective, I think :p.

Using the latest crond from f-droid, with the latest lineageOS on athene (Moto G4 Plus).

Will you please check your code to give it the proper treatment, it would be very kind.

Thanks for reading. -- A satisfied user.

Faerbit commented 7 years ago

Thanks for your report. The force closing is definitely unacceptable to me. I could reproduce, what you are reporting. The force closing should be gone now with the next release (v1.2.10). However there is still some weirdness going on with the supporting library (cron-utils) I use: While it schedules the tasks for sunday with a 0 or a 7 correctly it will however report the expression as incorrect. So please check the logs, that is doing what you expect it to.

Note that I am currently unable to use the latest version of the lib, as it requires Java 1.8 and I am having diffuculties getting it to work. But that could change very soon (with the release of a new Android Studio version), and might improve the situation.