Running Periodic Scripts

I am trying to develop a small addon to automatically update a order status after a certain period of time has passed, however I am not sure how is the best way to run this script periodically?

For CS Cart Cronjob are the best way to run periodically a script or is there another method?

Hello

Naturally a cron.

Best regards

Robert

Hello

Naturally a cron.

Best regards

Robert

Or, if you want to overengineer, you use a queue and insert an entry with a delay.