Results 1 to 9 of 9
May 1, 2007, 09:18 #1
- Join Date
- Jan 2006
- Manchester, UK
- 0 Post(s)
- 0 Thread(s)
Run a PHP script from withn windows without opening a browser
Hi guys ...
We currently have WAMP set up on, well, a local Windows machine. On this server, there is a script that checks a MySQL DB for records that match certain criteria, and then transfers these records from the local machine to a remote server.
The script is working as it should, but can obviously only be executed when opened in a browser via http://localhost/myscript.php ...
We need to schedule this script to run every half an hour. From research, it seems easy enough to schedule a browser to open and run the script via Windows' Scheduled Tasks.
The problem is, that this local machine is being used at an interactive installation, and we therefore do want a browser opening every half an hour...
What is the best (or ANY) way to get the PHP script to execute without any browser/command window etc opening?