at cron

######
linux auto control 
##
###### at


at -f FILE -m -l -d -v TIME
select queue: atq
manage queue: atrm
manage at:   /etc/at.allow       /etc/at.deny






###### cron


cron file expression
MIN HOUR DAY MONTH DOW COMMAND
0-59 0-23 0-31 0-12 0-7 run-path


SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/


# run-parts
# */1
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly


# 目录方式: * * * * root run-parts /etc/[dictory]   执行该目录下所有可执行文件
# 常规模式: * * * * runScript 
manage contab:  /etc/cron.allow            /etc/cron.deny




###### anacron    /etc/anacron
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
#PID   DELAY(min)  JOB_ID              COMMAND       ANACRONTAB
1       65      cron.daily              run-parts /etc/cron.daily
7       70      cron.weekly             run-parts /etc/cron.weekly
30      75      cron.monthly            run-parts /etc/cron.monthly

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值