We have a application that creates SSRS Schedules 2 times a year and it does create one for each of our customers.
Each schedulation results in a SQL Agent job with a GUID as name and the description This job is owned by a report server process. Modifying this job could result in database incompatibilities. Use Report Manager or Management Studio to update this job.
.
The schedulations just run one time and then just collects dust.
Is there any way to remove all old jobs and information about the schedulations in the SSRS database?
Best Answer
I found a solution to this problem. Create the following files:
RemoveSubscriptions.bat:
RemoveSubscriptions.rss:
Now if you change the variables in the bat file and run the bat file it should remove all subscriptions that are older then 1 month this includes the actual sql job.
Warning: This will remove jobs that run more then once so if you have a report scheduled to run once a year it will be lost!