Windows batch file to run PHP file

I have a PHP script that retrieves information from a database server and stores it in a database.

I am using wamp server and mysql. Now, how can I do this launch periodically (every 1 hour) without user interaction? I was thinking about using a windows batch file. Is there another way?

How to execute a php file in a windows batch file?

Thanks in advance

+5
source share
1 answer

To execute PHP from a batch file, follow these three simple steps:

+10
source

All Articles