I am new to php. I have a database of a turn based multiplayer game (game is made in unity 3d). Table GameTable stores the ids of two players ,their positions and a boolean to determine whose turn it is. 1 if player1's turn and 0 if player 2's turn.
I want that after every minute the position increments itself and the turn changes. I want this to happen automatically on the server side.
I am familiar with Cron jobs. But i don't want to create separate cron job for every entry in the table. Any ideas guys ?