Currently, I have one php function which is running with cron. It's the function to check the timestamp and close the topic. To check the timestamp and make live update, I have to use cron. I run cron with this command
wget -q http://www.example.com/program/timecheck
Everything seems working perfectly, so I didn't check my server for quite long. But today, I checked and found out that there are more than 500,000 of files called timecheck are created at root directory.
I checked through the code and it's sure that there's no code for creating the file.
What I would like to know is, is it because of the wget -q command ? If that's what command should i use to execute the url ?
Thanks for your help.
With Regards,
-q
is just "quiet", which means it won't print progress upates as it fetches the file.