tmyonline Posted May 26, 2008 Share Posted May 26, 2008 Hi guys: I need to update my MySQL database tables every 3 seconds or less. The purpose is to make the data in MySQL reflected real-time activities/values. I have no problem writing a PHP script to update my MySQL database tables whenever I load the page. How do I make this script automatically execute every 3 seconds without me loading the page every 3 seconds ? Thanks a lot! Link to comment https://forums.phpfreaks.com/topic/107321-how-to-execute-a-php-script-automatically/ Share on other sites More sharing options...
trq Posted May 26, 2008 Share Posted May 26, 2008 Do a google for executing a cron job. Link to comment https://forums.phpfreaks.com/topic/107321-how-to-execute-a-php-script-automatically/#findComment-550249 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.