Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: get directory lisrting on xe
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