narik Posted January 22, 2010 Share Posted January 22, 2010 How to run php automatically..anyone can help to solve Link to comment https://forums.phpfreaks.com/topic/189444-how-to-run-php-automatically/ Share on other sites More sharing options...
PHP Monkeh Posted January 22, 2010 Share Posted January 22, 2010 You might want to explain what you mean by "automatically". You mean when your PC starts the PHP service starts, or you want PHP scripts to automatically run at certain times? Read your question back to yourself before posting and ask yourself if it makes sense. Link to comment https://forums.phpfreaks.com/topic/189444-how-to-run-php-automatically/#findComment-999975 Share on other sites More sharing options...
simonrs Posted January 22, 2010 Share Posted January 22, 2010 You really need to be clearer. PHP is an interpreted language. The interpreter is called by a web server when the web server sees the tag <?php in a file called something.php. PHP in this instance runs automatically. I guess this is more of a coding query given the forum you've posted in in which case I'm going to guess that your query is, "how can I get PHP to run at certain times without relying on people visiting my website at that time?". The answer to that is cron jobs on unix based servers, and windows scheduling on windows based servers. I'd suggest googling these terms and doing some reading, although you will need server admin privileges to be able to set either up. Link to comment https://forums.phpfreaks.com/topic/189444-how-to-run-php-automatically/#findComment-999976 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.