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.
why are you using a thirdparty software to do this? windows has a task scheduler.. is there something wrong with windows task scheduler that requires one to go and install perl so that they can run a program to do the same thing?
We are kind of leaning towards using the scheduler, but encountered various upload errors (the script also uploads files to the remote server) that we do not encounter when running the script in a regular fashion via the browser...
This test was done by calling the script from the command line, with all environment variables set correctly.
Using the task scheduler, should we still be able to access the databases and create remote connections as well as perform these uploads etc?