Hi,
I want to run my php script using task scheduler but i keep getting error 0xFF
Any idea how i can successfully run this task because when i run the script manually it work.
Hi,
I want to run my php script using task scheduler but i keep getting error 0xFF
Any idea how i can successfully run this task because when i run the script manually it work.
How are you trying to run it?
I mean for the action on the scheduled task, what did you put?
In the Start in input, do you have?
C:\Program Files (x86)\PHP\v5.6\php.exe
Yes, i have that one. Actually, in my first post all of them is successfully run but only this one got error 0xff
That means that there is a syntax error… Have you considered adding a bash script that calls it rather than calling it directly?
i have tried created .bat file call the php script using that .bat file. The result show successfully run but it actually didn’t work.
this is code for my code .bat file
php D:\Inetpub\wwroot\15G_order\NewGeneration.php
pause
So, you have other files that will execute without an issue and this is the only one that wont?
Is it owned by another user or in a different directory? Is it executable?
Trying to walk through scenarios first rather than create additional scripts that may not be needed.
So, you have other files that will execute without an issue and this is the only one that wont?
Is it owned by another user or in a different directory? Is it executable?
Any idea on why this might happen? As i googled they said it maybe from different user but mine is under same user
try changing the “run in” to the quoted value and manually kick off the task
sorry but i quite don’t understand by what you meant
You mean remove the " " in program/script section?
No, the start in input. What do you have there?
in start in, I put it blank
make it,
D:\Inetpub\wwroot\15G_order\
I already put it in the start in input but still got 0xff error
Hmmmm