Some apps, especially those no longer maintained, severely misbehave when an android device with Marshmallow enters doze mode. Apps designed as alarm clock replacements or schedulers to perform certain tasks in the future no longer work reliably, completely defeating their purpose.
Workarounds are well known for developers, or when the affected apps are open-source, e.g. answered here and documented here.
But how can closed-source apps, whose authors no longer maintain them, be fixed?
Note that disabling battery optimization for an app will not help with doze mode as answered here.