I try to create a cronjob on windows7 iis. I downloaded the wget.exe from here, and created a batch file called: “cron.bat”
"D:\creation\software developer\wget\wget.exe" -q http://www.webshop.loc/cron;
pause;
My problem is whenever I call that file it creates a file called: “cron;#” where # is the number of the file calls. So on first call: “cron;” on second call: “cron;1”, on third call: “cron;2” is created. How can I stop this flood of file creations?
Tell wget to write the output to the screen instead of a file, by using
-O -You can then pipe it to “nothing” with
>NULYour command will become