Running PHP without Seeing it

How cna i run somehting so that a script increments the sql value ( i can already do this)
problem
do it witohut anyone being there runnign the scritp through there browser
so lie it constantly runs the script off the server without anyone actually lookign at and running the page
or do i need mroe thatn just a php and mysql server to do this?
like those online rts gaem like ogame and kings of chaos where your reasources come up
just making an cheap version of those and thsi has stumped me because i don’t want peopel jsut sittign there on the collect reasource kinda page to get reasources :stuck_out_tongue: