Multiple(five) alarm time setting in stm32f0 mcu
Check AN3371 at the official website of ST.

However, according to paragraph 2 there are only 2 alarms (A and B).

Alternatives:


Keep 5 alarms in your own code, set the first alarm (A) as alarm 1. When this fires, program A as for the next alarm (2) etc. Alarm B is not needed.
Do not use the alarm of the RTC, but a timer (not sure if the timer can be set for a long period).