Fetching details from the dictionary...

to keep in mind; to bear in mind; to try; to aim to do; to endeavor; to endeavour
健康のために野菜を多く摂ることを心掛けている。
I try to eat more vegetables for my health.
彼女は常に笑顔で接することを心掛けていた。
She always tries to interact with a smile.
早寝早起きを心掛けると体調が良くなった。
Trying to go to bed and wake up early improved my health.