Link to home
Start Free TrialLog in
Avatar of starhu
starhu

asked on

How to run a Php task periodically on Windows server?

Hello,

I need to to run a Php task periodically on Windows server.
Preferably the Php script would write the task in the Task Manager.

Thank you
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just use task scheduler to execute:
c:\php\php.exe c:\path\to\your\script.php

And replace the first part with the appropriate path to the php.exe on your system.
Avatar of starhu
starhu

ASKER

As you may have already noticed it instead of "Task Manager" I meant "Task Scheduler".

Sorry for this.
See my post above and let me know if that answers your question.
Avatar of starhu

ASKER

I have sent the post to my colleague: he will try it tomorrow, thank you very much