i want to run my php process on back hand so i use scheduler task to run my php file in window

i use this in run on scheduler task

C:\Xampp\php\php.exe -f C:\Xampp\htdocs\my_script.php

now i want that i want to stop my php.exe with php page locally or live page too

pls pls help out

well in widows this would be harder to do because you cant really run system commands but if you are looking to run a scheduler or line windows scheduler i would say to make a bat file to simply to have it

$output = exec("c:\\windows\\system32\\cmd.exe /c $batchFileToRun");

but you also have to make sure of alot of other thing before windows lets you
make sure you set the internet user to be allowed to control everything it might be easier to setup cgywin and run apache in there to have the ability to run the other system commands

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.