How to implement a TTimer like behavior on a R.O. server

Hi,

I need the server to check something every 30 secs or so on the server. On the client, I would use a TTimer but I can’t do that on the Server. How would you recommend I achieve this on the server-side? Does R.O. have any built-in “Timer” mechanics I could use?

Thanks!

Hi,

Why you can’t put TTimer to ServerDataModule and do something every 30 sec?

The code where this needs to go is not on a ServerDataModule. I might need to arrange some things around to make that happen though. Thanks for the question.

fyi: you can even call service’s methods from ServerDataModule/ServerMain/other service methods/etc .