服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. bash cron wget
  3. 无法让cron追加wget的输出
Intereting Posts
IPv6:我对地址感到困惑 从DNS名称服务器崩溃中恢复 XenServer 5.5的资源池需求是什么? “托pipe专用服务器”的CPU负载平衡 如何指定GNU屏幕ACL作为其命令行的一部分? 生活从另一台计算机编辑数据包的最佳途径 Nginx $ urivariables在处理过程中被截断 为CF 6.1configurationIIS后出错 让Mac对AD进行身份validation并映射主目录 商业道德/ ITpipe理员的合法性 如何防止邮件发送到postfix别名自动回复发送? 我可以运行多less个虚拟机? SCCM 2007 – 查询PowerShell版本 Windows性能监视新的实例 如何/何时在新的Subversion版本库中创build主干,分支和标签目录?

无法让cron追加wget的输出

我有一个cronjob设置和运行,但日志文件不断覆盖每次运行。 我希望每次运行cron时都要附加wget输出。

为什么是这个,如何解决?

0 0 * * * wget url/script.php -O - >> /home/user/app/logs/logfile 

  • shell参数中的二进制数据
  • Tinydns数据文件用bash更改ip
  • 麻烦Debian $ PATH
  • Riverbed Stringray TrafficManger – API调用Autoscaling
  • 添加一个额外的检查(bash脚本)到sshd服务器

  • curl按enter或ctr + c才能有正确的回应
  • 如何使用–userspec在chroot中设置ulimit
  • Bash脚本:比较path问题
  • 在ssh之后更改用户并执行多个命令
  • 运行脚本启动
 man wget -a logfile --append-output=logfile Append to logfile. This is the same as -o, only it appends to logfile instead of overwriting the old log file. If logfile does not exist, a new file is created. 

试试这个scheme。

  • 当父母退出时终止subprocess
  • bashdate不使用设定的时区
  • “which”命令总是显示正确的文件/哪个二进制文件正在运行?
  • Bash if语句等于上一个命令的输出
  • 从bash运行同一个php脚本的多个实例
  • 运行Bash脚本另一台服务器
  • Bash脚本应该死后继续重生
  • 获取密码到ssh-keygen
  • SVN发布提交问题(调用Bash)
  • 将授权密钥复制到远程服务器的脚本需要四次密码

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy