I need to create a cronjob. This cronjob should load a webpage and capture the stream. Regardless of the results, that result should go to trash.
Right now I have in the cronjob command:
wget
http://the.domain/my/path/to.file.php 2>/dev/null >/dev/null
This, however, creates a 0 size file on my server called to.file.php.
Of course, it is doing what I asked it to do. What should I do so that no file is created? Or rather, what command?
Thanks.
Eric