Hi,
I have to run every hour the maintenance script of phpadsnew, so I've added this cronjob:
50 * * * * wget http://www.zenigata.it/path_to_phpad...aintenance.php > /dev/null
but now the root of my account is plenty of maintenance.php like this:
maintenance.php.1
maintenance.php.2
maintenance.php.3
...
This is an example of the cron output I received via email:
--04:50:03-- http://www.zenigata.it/path_to_phpad...aintenance.php
=> `maintenance.php.63'
Resolving www.zenigata.it... 69.73.175.125
Connecting to www.zenigata.it[69.73.175.125]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
0K 0.00 B/s
04:50:10 (0.00 B/s) - `maintenance.php.63' saved [0]
Please note phpadsnew manual says:
What's wrong in my cron?# if your server supports curl:
0 * * * * curl -s -o /dev/null http://your.server.name.here/phpAdsN...aintenance.php
# if your server supports fetch:
0 * * * * fetch -o /dev/null http://your.server.name.here/phpAdsN...aintenance.php
# if your server supports lynx:
0 * * * * lynx > /dev/null -dump http://your.server.name.here/phpAdsN...aintenance.php
# if your server supports wget:
0 * * * * wget -q -O /dev/null http://your.server.name.here/phpAdsN...aintenance.php
Thanks


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks