How to set a cronjob [message #211179] |
Wed, 27 December 2006 01:10 |
gthrisg
Messages: 17 Registered: August 2006
|
Junior Member |
|
|
Hi,
Im a newbie in oracle.Im using linux fedora core.
I have a script for backup
my backup.ksh file contains
#!/bin/ksh
rman target=/ << EOF
RUN {
ALLOCATE CHANNEL ch1 TYPE
DISK FORMAT '$ORACLE_HOME/backup/%d_DB_%u_%s_%p';
BACKUP DATABASE PLUS ARCHIVELOG;
RELEASE CHANNEL ch1;
}
EXIT;
EOF
How do i set a cronjob for it example i want this to run daily at 3pm or so.
Can anyone guide me how to do it.
thanks
gthri
|
|
|
|
|