Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to create folder in disk using pl/sql
On 7 May 2005 12:28:04 -0700, agonenil_at_gmail.com wrote:
>in 10g it is simple.
>just run this :
>begin
> DBMS_SCHEDULER.CREATE_JOB (
> job_name =>'create_dir_test',
> job_type =>'executable',
> job_action => 'c:\winxp\system32\cmd.exe /c mkdir c:\test\test1',
> enabled =>true,auto_drop => true
>);
>commit;
>end;
>/
>
>on windows you will to start OracleJobSchedulerSID before using it.
Sweet! I haven't had a chance to do more than glance at the docs for the scheduler so far. I really need to dig into that some more.
Thanks,
Lewis
Author, ItToolBox Blog: An Expert's Guide to Oracle http://blogs.ittoolbox.com/oracle/guide/
Topic Editor, Suite101.com: Oracle Database http://www.suite101.com/welcome.cfm/oracle
Sign up for courses here:
http://www.suite101.com/suiteu/default.cfm/416752