Backup at daily night 11 PM [message #346065] |
Fri, 05 September 2008 16:26 |
|
Hi friends,
I have been granted CREATE JOB to be able to create a job. Jobs are created , but disabled by default. now I must enable them explicitly . But i need to enable automatically.
here my coding
please re change and send me solution
BEGIN
DBMS_SCHEDULER.create_job (
JOB_NAME => ‘daily_backup’,
JOB_TYPE => ‘EXECUTABLE’,
JOB_ACTION => ‘/home/n1_backup’,
START_DATE => TRUNC(SYSDATE+1)+23/24,
REPEAT_INTERVAL => ‘TRUNC(SYSDATE+1)+23/24’,
COMMENTS => ‘my back up’);
END;
Thanks
Ramya
|
|
|
|
|
|