kabira Posted March 14, 2008 Share Posted March 14, 2008 Hi, I am very new to php. Someone wrote a php script and it was working fine. We use windows xp and when I try to run the schedule task, the php scrip pops up instead of running. when I try to run the script thru cmd, it runs. c:\path_to_php.exe -f c:\path_to_file can anyone please advise what can I check thanks Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted March 14, 2008 Share Posted March 14, 2008 does it report back any errors? Quote Link to comment Share on other sites More sharing options...
kabira Posted March 14, 2008 Author Share Posted March 14, 2008 no it does not report any error. When I click on the schedule task and run the status is changed to "running" and the script opens in the notepad. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted March 14, 2008 Share Posted March 14, 2008 It sounds like the file name ends in .txt Have you checked that the command and parameters that are entered in the task scheduler are correct? Are file extensions hidden on the computer? If so, start by un-hiding all extension. Otherwise, you would need to post exactly what has been entered to get help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.