Using cron with variable time string

Hi.
Is it possible to use a rule triggered via cron with time string of item value please ?
If I’m using external python scripts with different execultion time according variable data packs,
then a rule can be executed in different cron time loops.
Thanks.

rule "US3000 Detail"
when
    Time cron "0/14 * * ? * * *"
----------------------------------------
rule "US3000 Detail"
when
    Time cron timestring.state
  • Platform information:
    • Hardware: RPi4
    • OS: raspbian bullseye 32 bit
    • Java Runtime Environment: OpenJDK 1.8.0
    • openHAB version:OH2

No.

You can use a looping timer that checks and Item state or variable to know how long before the next iteration. You can use a Time is <Item> trigger and keep updating the DateTime Item with the next time to run.

But cron triggers are fixed.

However, the Time is <Item> want added until around OH 3.3 so in OH 2 you are stuck with Timers.

Thanks Rich.