Loading [MathJax]/jax/element/mml/optable/BasicLatin.js

10 2015 档案

摘要:sed -i "s/原字符/替换的字符/g" `grep 原字符 -rl /var/www/项目名` 阅读全文
posted @ 2015-10-22 11:43 Forward1990 阅读(228) 评论(0) 推荐(0) 编辑
摘要:function GrabImage(url,filename="") { if(url=="") return false; if(filename=="") { ext=strrchr(url,"."); if(ext!=".gif" && ext!=".jpg... 阅读全文
posted @ 2015-10-22 09:59 Forward1990 阅读(303) 评论(0) 推荐(0) 编辑
摘要:开始->运行->输入cmd输入 at 21:00 Shutdown -s 表示21点关机Shutdown.exe -s -t 3600 表示3600秒后关机如果想取消 输入 Shutdown -a 阅读全文
posted @ 2015-10-22 08:38 Forward1990 阅读(149) 评论(0) 推荐(0) 编辑
摘要:需求:一个php程序要跑一段时间,但是时间不确定。问题: 当该php程序运行超过一段时间被强制断开连接。PHP本身超时处理在 php.ini 中,有一个参数 max_execution_time 可以设置 PHP 脚本的最大执行时间,但是,在 php-cgi(php-fpm) 中,该参数不会起效。真... 阅读全文
posted @ 2015-10-19 11:09 Forward1990 阅读(236) 评论(0) 推荐(0) 编辑
摘要:date >> /home/backupluc/monitor/loadavg.txttop -b -n 1 | grep Cpu >> /home/backupluc/monitor/loadavg.txttop -b -n 1 | grep average >> /home/backuplu... 阅读全文
posted @ 2015-10-13 16:38 Forward1990 阅读(382) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示