1

Linux常用命令-50:crontab

 2 years ago
source link: https://xugaoxiang.com/2022/06/14/linux-cmds-50-crontab/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

crontab 命令用来提交和管理用户的需要周期性执行的任务,与 windows 下的计划任务类似。

语法格式:crontab [参数]

常用参数:

feb106fbfd2537de.png
# 显示计划任务
crontab -l

# 编辑计划任务
crontab -e

计划任务的格式是

minute   hour   day   month   week   command

分别表示: 分 时 日 月 周 命令

042ce34324543d39.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK