vbc 发表于 2015-7-25 10:49:19

GoAccess 0.9.2 发布,Apache 日志统计

问个问题, 手动运行以下命令就可以生成正常的html文件  goaccess -f /home/wwwlogs/access.log > /home/wwwlogs_html/access.html
  但把以上命令添加到crontab -e 里生成的HTML的文件大小却是0,是什么问题啊?
  
  */2 * * * * goaccess -f /home/wwwlogs/access.log > /home/wwwlogs_html/access.html
  
  crontab的日志
  Jul 15 15:08:01 iZ23c8ku9umZ CROND: (root) CMD (goaccess -f /home/wwwlogs/access.log > /home/wwwlogs_html/access.html)
页: [1]
查看完整版本: GoAccess 0.9.2 发布,Apache 日志统计