Page 1 of 1

running php-cgi.exe in the backgroud

Posted: Tue Apr 26, 2005 7:16 am
by dannymc1983
im running a script in a cron program but i dont want the command window to show while the script is running. i have tried using php-win.exe to run the scripts. this doesnt show the command prompt but some reason the include paths in my script arent recognised. php.exe doesnt recognise them either. if i use php-cgi.exe the include paths are recognised but the console window will show evrey time the script runs. (the script will be running every 2 mins so obviously i dont want this to happen!). does anyone know how to use php-cgi.exe so that it runs in the background i.e. it doesnt show a dos command window?

Posted: Tue Apr 26, 2005 11:01 am
by dannymc1983
can anyone suggest anything for this??? need help badly!