Tracking connected users to website

Hello, I’m trying to get a website working that actively tracks connected users (think of multiple clients connected to a server with synchronised communication), and requires users to respond once in a while to stay connected.

I am currently trying to do this using the cron jobs in the backend, I would like to achieve a function that resets all users connected statuses, after which each user has some time to notify the server that it is still present. However, it seems that the cron jobs are only able to be executed at a once per hour interval. I’ve tried other notation for cron jobs (such as: “*/10 * * * *”), but it looks like this doesn’t increase the job frequency.

Is there an other / better way to do this?