I have a bat file, which I want to run from task scheduler
@echo off echo Starting PHP FastCGI... RunHiddenConsole.exe c:/server/php/php-cgi.exe -b 127.0.0.1:9000 -c C:/server/php/php.ini echo Starting nginx... C:/server/nginx/nginx.exe
It works properly when I start manually.
I added a task to the scheduler, but the server is not started. When I click on the scheduler to run task, it opens a cmd window for less then a second. It contains some kind of error message, but I cannot read it so fast and the characters are too small, so couldn't make a readable photo of it.
How to fix it?