I would like to update server data to update artificial population data every minute, or every 30 seconds. I'd like to use MySQL, since I'm familiar with it and it's widely supported. I don't want to update the server just when people connect to it. How would I do that?
I've searched a bit and it seems there are a few answers that almost answer it, but they usually have something to do with users connecting.
I added "server-side-events" to the tags because I would like to send the data to anyone who is currently connected, but I want the data to keep updating even when no-one is connected.