点击返回🔗我的博客文章目录
crontab -l
crontab -e
每天凌晨两点运行脚本 清理内存
每天凌晨两点运行脚本
清理内存
0 2 * * * /bin/bash /srv/tencent/server/tencent_jar/stop_jar.sh 1 2 * * * sync && echo 1 > /proc/sys/vm/drop_caches 2 2 * * * /bin/bash /srv/tencent/server/tencent_jar/run_jar.sh