Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: get directory lisrting on xe

Re: get directory lisrting on xe

From: Jagjeet Singh <jagjeet.malhi_at_gmail.com>
Date: 30 Mar 2007 20:56:01 -0700
Message-ID: <1175313361.299683.125710@r56g2000hsd.googlegroups.com>


Sorry for previous reply.

Hi prunoki,

You can try this approach is if it suits to your requirement and if you any *unix* env.

In this approach you may required to wait till 1 minute maximum.

Using UTL_file create 1 file and put your command in that file.

like utl_file.put_line(file_descriptor, " ls -lrt /tmp " );

like you can use input file.

and put 1 cron job which would be reading this file and put output into another file.

and again use that file using utl_file.

Cron job will be executing after 1 minute.

If you think 1 minute is more -- then just create 1 script and use while loop + sleep n seconds.

Regards,
Jagjeet Singh Received on Fri Mar 30 2007 - 22:56:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US