Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

How to schedule SSRS subscription via Sql server job agent Expand / Collapse
Posted Thursday, November 8, 2012 4:55 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, April 6, 2015 9:27 AM
Points: 4, Visits: 8
i have schedule some job by sql server job agent ant to generate report after completion of specific step.
can any body help me to configuring the job agent.
Post #1382418
Posted Thursday, November 8, 2012 4:58 AM



Group: General Forum Members
Last Login: Thursday, September 1, 2016 2:56 AM
Points: 5,969, Visits: 6,067
I would create the subscription as you would normally via SSRS front end, then I would remove the schedule from the job it creates to run that subscription. Then in the job which you want to start the subscription from, add a step which executes sp_start_job and pass in the job id of the subscription job.

Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1382419
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse