Forum Moderators: phranque
Just learn about this mighty cron scheduler and thought of using it ...
I've got several site which use stats systems which until now I updated manually (silly me ;) ).
What i've done is include the command to update them in the crontab file ( well more specifically a command to run a php script with includes in it for each of the site).
Now a question for you WW Webmasters. I want to purge the individual log files after every update:
Thanks for your help.
Leo
You could also rewind [php.net] the file pointer when you are done and just overwrite the contents with nothing.
I don't know if the log files will be recreated (will check with hosting company).
Alos it doesn't seems to work yet (although I think I did everything properly - logged in a root, modified the crontab did crontab -l to see if it worked and restarted the cron deamon) - but still no luck.
Anybody had experienced the same maybe?
Leo