首页 > 其他 > 详细

wget

时间:2017-02-28 19:17:38      阅读:144      评论:0      收藏:0      [点我收藏+]

wget 下载不产生文件(crontab定时任务时可能不希望产生文件)

wget -O /dev/null -o /dev/null example.com

Here -O sends the downloaded file to /dev/null and -o logs to /dev/null instead of stderr. That way redirection is not needed at all.
http://serverfault.com/questions/619542/piping-wget-output-to-dev-null-in-cron

命令详解:
http://man.linuxde.net/wget

wget

原文:http://www.cnblogs.com/isykw/p/6480112.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!