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

----- Original Message -----
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 1:19 PM


> 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 [EMAIL PROTECTED]
> to subscribe send a blank email to [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to