每日自动读取一次网页脚本Linux

定时执行个小文件,这样就能做很多事儿
vi autocloseorder.sh
chmod 755 autocloseorder.sh

DATE=`date "+%Y-%m-%d %H:%M:%S"`
echo $DATE >> /backup/server/log/auto.log
wget -O test.html -q  http://xtc.k1d.com.cn/Reflash/index/

每天夜里3点32 执行一次

32 03    * * *	 root	 /backup/backupwebsite/site.sh

两分钟一次

*/2 *    * * *   root 	 /backup/server/autocloseorder.sh


This entry was posted in Linux and tagged , , . Bookmark the permalink.
月小升QQ 2651044202, 技术交流QQ群 178491360
首发地址:月小升博客https://java-er.com/blog/auto-run-linux-php/
无特殊说明,文章均为月小升原创,欢迎转载,转载请注明本文地址,谢谢
您的评论是我写作的动力

3 Responses to 每日自动读取一次网页脚本Linux

  1. staynight says:

    WP的模板好老啊,不试试响应式布局吗?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

  

  

About Me

静水流深,水滴石穿