viewing job status as a member of targetserverrole in msdb

From: Jules Bui (jbui_at_cfsloans.com)
Date: 06/26/03


Date: Thu, 26 Jun 2003 05:41:17 -0700


By adding a user in the targetserverrole in the msdb
database, it allows this user to see scheduled jobs and
view the history etc. What I have found is on jobs that
are still executing, if the user looks at the 'status'
column, it will not say that the job is executing. The
only way I have found for any user to see a job status is
to make him an 'sa'. There has to be a stored procedure
which can grant a user to see the status of current jobs
still executing w/o making him an sa. Would you happen
to know what it is and where it would be?



Relevant Pages

  • Re: At job not executing
    ... >output of that command will go in the user's email. ... while crontab jobs are correctly executed on ... >possible that cron keeps subsequent at jobs in the queue if the limit ... not just not executing. ...
    (comp.unix.sco.misc)
  • Re: SQL agent jobs fail after upgrading windows2000 to windows2003
    ... It sounds like you are executing something other than T-SQL in your jobs. ... > Executed as user: SQLAdmin. ...
    (microsoft.public.sqlserver.server)
  • Re: TSQL to find all running SQL Agent jobs
    ... executing. ... you can refer to system tables like sysjobs* for making the query. ... > list all jobs that are currently running ...
    (microsoft.public.sqlserver.programming)
  • How to restart executing jobs after server reboot?
    ... the server maintenance people reboot the server? ... After the reboot, I ... have been manually restarting any jobs that were executing or retrying. ...
    (microsoft.public.sqlserver.dts)
  • Re: How to restart executing jobs after server reboot?
    ... Have a job that starts at agent startup. ... In your jobs you create add a step at the start that inserts into a table the time it started. ... Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) ... > have been manually restarting any jobs that were executing or retrying. ...
    (microsoft.public.sqlserver.dts)