wiki:linux:crontab
Linux Crontab 定时任务
修改corn脚本编辑器为vim
export EDITOR=vim
创建定时任务
crontab -e
编辑任务,如在文件中加入以下命令(每天15:13分自动执行hello.sh脚本)
13 15 * * * sh /opt/hello.sh
工具
参考:
wiki/linux/crontab.txt · 最后更改: 2023/01/03 15:25 由 127.0.0.1
评论