在Linux使用crontab设置自动执行备份脚本问题?
0 1 * * 0 /u01/app/oracle/RmanBackup/BackupFull.sh
>>/u01/app/oracle/RmanBackup/BackupFull.log
0 1 * * 3 /u01/app/oracle/RmanBackup/BackupFull.sh
>>/u01/app/oracle/RmanBackup/BackupFull.log
30 1 * * 1-2 /u01/app/oracle/RmanBackup/Incr1.sh
>>/u01/app/oracle/RmanBackup/Incr.log
30 1 * * 4-6 /u01/app/oracle/RmanBackup/Incr1.sh
>>/u01/app/oracle/RmanBackup/Incr.log
这写的有错误吗?
我在Linux使用crontab设置自动执行备份脚本 总是写不了
[oracle@zlk ~]$ crontab -e
crontab: installing new crontab
"/tmp/crontab.XXXXo39zlr":2: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit?
------解决方案--------------------
一条只能写一行,sh后面别换行