I am banging my head trying to figure this one out. I have a windows 2000 server running IIS and php4. I have a cmd script pointing to the path of php and then the script. When you click the script it runs fine and send the email. But If I tell scheduled task to run it it does nothing and the scheduler reads 0x0 which is success. But nothing gets ran.
Also what is really wierd is that I can kill all php.exe processes then click run the task and it works. Also as soon as someone accesses any php page from the interenet on this server it starts 5 php.exe processes that don't ever quit.
Can anybody take this info and tell me what is going on here. I think it is a process conflict but I have tried renaming the php.exe and running that in my script instead of the actual php.exe and still no go.