由于wget错误,Cron作业无法正常工作
我正在我的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' …