我正在 MediaTemple DV4 上设置一个 CRON 作业来生成站点地图。为了测试,我通过命令行运行了以下命令:
wget http://subdomain.website.com/?sm_command=build&sm_key=348791hdshjfjdkaiu34
我收到以下错误:
Reusing existing connection to subdomain.website.com:80.
以下是完整输出:
Resolving subdomain.website.com... 12.345.678.90
Connecting to subdomain.website.com|12.345.678.90|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://subdomain.website.com/wp-login.php?redirect_to=http%3A%2F%2Fsubdomain.website.com%2F%3Fsm_command%3Dbuild [following]
--2013-04-18 11:36:21-- http://subdomain.website.com/wp-login.php?redirect_to=http%3A%2F%2Fsubdomain.website.com%2F%3Fsm_command%3Dbuild
Reusing existing connection to subdomain.website.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `wp-login.php?redirect_to=http:%2F%2Fsubdomain.website.com%2F?sm_command=build.6'
有什么想法吗?