服务

  1. 查看cron的状态,设为开机启动
  1. 1. systemctl status crond (查看状态)
  2. 2. systemctl enable crond (设为开机启动)
  3. 3. systemctl start crond (启动crond服务)

[root@wmsdb yum.repos.d]# crontab -u oracle -e
no crontab for oracle - using an empty one
crontab: installing new crontab
编辑定时器内容:
30 11 * /home/dump_bak/oracle_back.sh