Linux 发送邮件

* * */1 * * /usr/sbin/ntpdate 172.17.14.9
0 18 * * * echo ''>/usr/local/nginx/logs/access.log
0 14 * * * echo ''>/java/apache-tomcat-9.0.31/logs/catalina.out
0 19 * * * zip -q -r /java/pdf/ZQDYPdf.zip /java/apache-tomcat-9.0.31/webapps/zhaoqingpeople-api/WEB-INF/classes/image/
5 19 * * * mail -a /java/pdf/ZQDYPdf.zip -s 'pdf' 306616533@qq.com < /java/pdf/Send.txt

posted on 2021-04-23 13:14  四海骄阳  阅读(58)  评论(0编辑  收藏  举报

导航