Below is my batchfile script. When i setup cronjob via Taskscheduler and run the bat file, cmd line opens with the below batchfile script. But at the same time below specified url is opens in browser and getting the output on browser.
cmd /k start "D:\xampp\php\php.exe" "http://localhost/server/php/ping1.php"
But I need output on the commandline instead of opening in browser.How can i achieve this? Any help would be greatly appreciated.
File should execute via cmd line only . But it is executing via browser.