Hello,
I tried to make auto backup by writing shell script and inserting into crontab
-bash-3.2$ ls
app darchive.sh log_file oradata test.log
-bash-3.2$ cat darchive.sh
rman nocatalog << EOF
connect target /
backup database plus archivelog delete input;
delete noprompt obsolete;
EOF
-bash-3.2$ cat log_file
-bash-3.2$
-bash-3.2$ crontab -e
00 23 * * 1,5 /usr/lib/oracle/xe/darchive.sh 1>/usr/lib/oracle/xe/log_file 2>&1
~
According to crontab task that should make auto back on Sunday and Thursday on 23:00 but not worked on stipulated date/time. sh darchive.sh is working fine
Is my crontab defined accurately
Best regards