crontab

crontab 用于设置系统自动执行的周期性任务

# m h dom mon dow user  command
17  *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25  6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47  6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52  6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )

解释:
m:minute
h:hour
dom:day of month
mon:month
dow:day of week

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

本博客为Swagger-Ranger的笔记分享,文中源码地址: https://github.com/Swagger-Ranger
欢迎交流指正,如有侵权请联系作者确认删除: liufei32@outlook.com

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄