Monday, October 14, 2013

Start WAMP server and run index file through batch file


Create wamp.bat file and copy following code in it.
this code at localhost will start wamp apache server on specific time as per you schedule it. 
and run this specific file, here index.php file run automatically for the specific purpose , as per your 
requirement.



 
start C:\wamp\wampmanager.exe
start C:\wamp\bin\php\php5.3.13\php.exe -f  C:\wamp\www\index.php

No comments:

Post a Comment