triggering php page refresh when changes occur in DB

I have a php page (dashboard) that displays last 10 records (clocking punches) from mysql table. The clocking data is inserted by another .php file which deals with API request from clocking machine and runs INSERT sql query.

What is the best way to trigger the dashboard, to refresh the data once the INSERT query is run on the other page, so that the data displayed is up to date.

I would like to avoid constant page refreshes at set interval.