[oracle@localhost ~]$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXNWtSJ7 installed on Wed Feb 3 00:59:50 2016)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
#backup start every day 2:10
0 1 * * * /data/oracle/backup/cronbackup.sh
#delete start every day 4 hours
0 4 * * * find /data/oracle/backup/dump/ -print -atime +2 -exec rm -rf {} \;
####send mail
0 5 * * * more /var/mail/oracle | mail mail@mail.co.kr -s IDC OracleServer
0 5 * * * df -h | mail mail@mail.co.kr -s "IDC oracleserver df -h" OracleServer
50 5 3 * * cat /dev/null > /var/mail/oracle
[oracle@localhost ~]$
'OS > Linux' 카테고리의 다른 글
linux welcome message / motd / issue / sshd_config / Banner (0) | 2023.09.22 |
---|---|
네트워크 정상 통신체크 / linux / telnet / nc / curl / dev/tcp (0) | 2023.09.21 |
SSO / SSL / jdk.tls.disabledAlgorithms (0) | 2022.02.15 |
linux / find / 특정기간 / 검색기간 (0) | 2022.02.14 |
sftp / ssh / scp 포트지정접속 (0) | 2021.12.28 |