Run job from stored procedure

  • Hi,

    I know how to start job from stored proc.

    But, could you helpm to find how to check in stored proc that job IS NOT running and start job after that.

    If job IS runing wait for 5sec and start the job.

    Thank you,

    Leonid

  • See BOL about sp_help_job and sp_update_job.

  • It should be very simple, but I am stuck

    How to chek status from sp_help_job inside of stored proc?

    Could you help with the line of code?

    Thank you

    Leonid

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply