maybe this is the wrong forum, but i am using a php cron script which works, but everytime it runs, it creates a copy of itself in the root folder (if it exists, it adds a new copy i.e. script.php, script1.php, script2.php...) is there something to add to this line so it won't make that copy? 15 04 * * * wget http://www.domain.com/cjob.php Code (markup):
It looks like the php script itself that it making the copy. Can you post the code of the php script?
Try: 15 04 * * * wget --spider http://www.domain.com/cjob.php Code (markup): So it's only visit the url, but will not save it.
15 04 * * * wget http://www.domain.com/cjob.php -O output.html Code (markup): This allways will put result in output.html