How do I schedule a Timer in a Groovy rule/script?

I’m using OH3. I have a groovy rule and I want to schedule a timer.

I tried many combinations of:

createTimer(ZonedDateTime.now().plusSeconds(2), () -> {
            // DO SOMETHING
})

none where successful.

Within Rule DSL I use:

createTimer(now.plusMinutes((TimerPeriod)),
[|
OccupancyStatus.postUpdate(Unoccupied)
])