I'm new to using cron job. I don't even know how to write it. I want to write my test.php every hour. My OS is Windows 7. My test.php :
$f=fopen('file.txt','a');
...
fwrite($f,$str);
And I want to run it every hour.
I tried to write in my cmd:
0 * * * * E:/xampp/php E:/xampp/htdocs/cron/test.php &> /dev/nul
But I get syntax error. Can anybody help me? Where I must write this comand? And what is wrong?
Thanks!