I have installed localhost/server in my machine and I need to run a php script using windows schedule task. how do I add path in \"Actions\" tab in schedule task / cofigure
Locate the php.exe executable on your system and pass it the name of the script file using the -f parameter.
-f
Example:
C:\Xampp\php\php.exe -f C:\Xampp\htdocs\my_script.php
Reference: