Cron creating sequental files in root director
Posted by: barrya
Posted on: 2007-02-02 15:57:00
Howdy,
I've installed Drupal 5.0, and per the instructions on the dreamhost wiki, I've setup a the following cron tab to run:
0 * * * * /usr/bin/wget http://www.mywebsite.org/cron.php
I created it a couple days ago, and seems to be working. But the issue is that every time it runs (every hour) it creates an empty file, named sequentally in the root direcory (that my domains are in):
cron.php
cron.php.1
cron.php.2
cron.php.3
cron.php.4
cron.php.5
cron.php.6
[etc., to infinity]
I'm recieving the following as an email from root@.myftpserver.dreamhost.com:
--15:00:04-- http://www.mysite.org/cron.php
=> `cron.php.56'
Resolving www.mysite.org... 208.113.160.130
Connecting to www.mysite.org[208.113.160.130]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
0K 0.00 B/s
15:00:11 (0.00 B/s) - `cron.php.56' saved [0/0]
I guess this is informing me of the file that was created.. I don't understand why it's doing this?
what can I change in my cron file to stop this file being created if there is no error? Or is this the sign of an error, or is this normal?
Oh, yeah, I'm kind of a noob, but quickly learning drupal.