It really has to be part of the routine, and there needs to be automated nagging in place to ensure that it goes off due to programmed conditions, and not due to neglect.
I think this is especially important in cases of dementia. Daily routines will become one of the last things to go, as long as there is good nagware in place to keep you in line.
I use nagware to remind me to take my medication, do my Duolingo practice, do my nightly checkins to GitHub, feed the various critters that don't or won't remind me themselves, and do my various work rituals. Weekly, monthly, and annual reminders (doctor appointments and birthdays) are also important.