Home » SQL & PL/SQL » SQL & PL/SQL » User who executed the Job (oracle 10.1.0.2.0)
User who executed the Job [message #605501] Fri, 10 January 2014 01:25 Go to next message
pstanand
Messages: 133
Registered: February 2005
Location: Chennai,India
Senior Member
Hi,
I'm facing a problem in finding out the user who has accessed/triggered the job which is scheduled in crontab and accessing the oracle tables.
I used the following code to find it out. But the user_name column is NULL. How do I check the last day's job run.
Please help me to find the user.
select log_id,log_date,owner,job_name,status,user_name,client_id from dba_scheduler_job_log 
where log_id in (select log_id
 from dba_scheduler_job_run_details
 where trunc(log_date) = to_date('01/06/2014', 'mm/dd/yyyy')
)
Re: User who executed the Job [message #605502 is a reply to message #605501] Fri, 10 January 2014 01:38 Go to previous message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Quote:
How do I check the last day's job run.


dba_scheduler_jobs.LAST_START_DATE

Previous Topic: Please provide equivalent update for this merge query.
Next Topic: How to find total no of employee and no of employee in given years
Goto Forum:
  


Current Time: Fri Apr 19 15:12:21 CDT 2024