Activate smart outlet every 10 minutes?

I’m looking to activate a smart plug every 10 minutes for a hot water recirculation pump. I’m looking for it to run only when in the “home” mode From what I’ve seen people have recommended the smart home ventilation app which seems to have been deprecated. Any other suggestions?

Core/Webcore can handle this

Thanks! So I was able to get the plug to turn on every 10 minutes but I am having trouble getting it to turn off after being activated for a minute. I assume I would use a while loop but I’m not sure where I should place the while loop and how to get compare the condition of 1 minute of time passing.

I would just use stay commands

If plug stays off for 10 minutes
And
Blah blah blah
Then with plug
Turn On

If plug stays on for 1 minute
And
Blah blah blah
Then with plug
Turn Off

If plug stays off for 15 minutes
Then with plug
Turn On

The last one is just a fail safe.