我注意到我的 cron 输出正在我的服务器上创建 index.html 文件。我使用的命令是wget http://www.example.com 2>&1
. 我也试过包括--reject "index.html*"
如何防止输出创建index.html
文件?
--2013-07-21 16:03:01-- http://www.examplel.com
Resolving example.com... 192.0.43.10
Connecting to www.example.com|192.0.43.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
Saving to: `index.html.9'
0K 0.00 =0s
2013-07-21 16:03:03 (0.00 B/s) - `index.html.9' saved [0/0]