crontab.sample
来自「linux下查看系统工具原码,如IOSTAT等」· SAMPLE 代码 · 共 20 行
SAMPLE
20 行
# Crontab sample for root or adm# Please update this crontab with the proper location# for sa1 and sa2 shell scripts (replace SA_LIB_DIR with# /usr/lib/sa for example).## 8am-7pm activity reports every 20 minutes during weekdays.# 0 8-18 * * 1-5 SA_LIB_DIR/sa1 -d 1200 3 &# activity reports every 10 minutes everyday.0 * * * * SA_LIB_DIR/sa1 -d 600 6 &## Activity reports every an hour on Saturday and Sunday.# 0 * * * 0,6 SA_LIB_DIR/sa1 -d &## 7pm-8am activity reports every an hour during weekdays.# 0 19-7 * * 1-5 SA_LIB_DIR/sa1 -d &## Daily summary prepared at 19:05.# 5 19 * * 1-5 SA_LIB_DIR/sa2 -A &5 19 * * * SA_LIB_DIR/sa2 -A &
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?