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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: [Q] how to check dbms_job on the queue?

Re: [Q] how to check dbms_job on the queue?

From: Kresimir Fabijanic <kresimir_at_ozemail.com.au>
Date: Thu, 08 Feb 2001 03:25:51 -0800
Message-ID: <F001.002AEB41.20010208023527@fatcity.com>

OK, L

We've got the message (about six times)

To get info that you want you can check dba_jobs_running and dba_jobs/all_jobs/user_jobs (especially last_date, last_sec, this_date, this_sec and next_date, next_sec columns). i.e.

select dj.job, dj.what, dj.next_date, dj.next_sec from dba_jobs dj
where not exist (select 1

                          from dba_jobs_running djr
                          where djr.job = dj.job)
and dj.next_date > sysdate
order by dj.next_date
;

or

select dj.job, dj.what, dj.next_date, dj.next_sec from dba_jobs dj
where dj.next_date > sysdate
and dj.this_date is null
order by dj.next_date
;

HTH Regards

Kresimir Fabijanic

> We have ORACLE 8.1.6 on SUn Solaris server. Our users sometime will
> summit job from ORACLE Discover from the client side. Does their has way
> to check on server side how many dbms_job wait on queue?
>
>
>
> Thanks.
>
>
> --------
> Think you know someone who can answer the above question? Forward it to
them!
> to unsubscribe, send a blank email to oracledba-unsubscribe_at_LAZYDBA.com
> to subscribe send a blank email to oracledba-subscribe_at_LAZYDBA.com
> Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kresimir Fabijanic
  INET: kresimir_at_ozemail.com.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Feb 08 2001 - 05:25:51 CST

Original text of this message

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