"This message is shown once once a day." contains a typo.
It should read:
"This message is shown once a day."
"This message is shown once once a day." contains a typo.
It should read:
"This message is shown once a day."