Delayed change of ticket state

Sorry, I don’t get you right.
Instead of a cron-based script, what do you advise to use?