会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
花开有时
破晓/dawn came/小孩子の哎/黎明的分界线/limingdefenjiexian
博客园
首页
新随笔
联系
订阅
管理
2023年5月11日
Linux crontab定时执行脚本
摘要: 一、创建shell脚本 示例:查看a.txt文件是否存在 #!/bin/sh echo "查找2.txt文件是否存在?" if [ -e /test/2.txt ];then echo $(date +%F%n%T)文件存在-yes >> /test/log.txt else echo $(date
阅读全文
posted @ 2023-05-11 17:27 王晓鸣
阅读(515)
评论(0)
推荐(0)
编辑
公告