DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: dbms_job

  1. #1
    Join Date
    Jan 2000
    Location
    san jose
    Posts
    149
    can i do something like this:

    variable jobno number;
    variable instno number;
    begin
    dbms_job.submit(:jobno,' host copy /u01/app/oracle/file1 /u02',sysdate);
    end;

    if so, how?

  2. #2
    Join Date
    Nov 2000
    Posts
    344
    Unfortunately the HOST command only works from SQL Plus.
    If you want to schedule the copying of a file, it would be easier to do it from an OS scheduler like CRON.

    -John


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width