I need, every 2 months, to execute some rule component programmatically, but I don't know how to do this.
If I use
hook_cron(), I don't know how to check 2 months are passed from the last time it was executed.
I can check 'the 10th day of the month' + 'month number is even'.
If cron tasks run twice a day, I cannot send 2 identical emails to users.
How can I achieve this?