With this plug-in you can delete ad-hoc a lot of publishing job reports by choosing a day range.
Benefits
This is especially needed, if the list is quite huge, because MS (at lest V9) sometimes did not open the complete list. And every time opening the list takes very long to wait only to check one report from the list.
Because I often have a lot of publishing jobs created by the API at the same day and I need to check only one job report for support reasons, I wrote this script. The daily job created in ServerManager to get rid of all job reports at my side has a day range for 3 days, to be able to check job reports on Monday morning, even they run on Saturday.
Location in SmartTree
You found the plug-in under Administer Publication > Project > Job Reports.
How it works
First the plug-in ask you for the day range you want to keep the job reports. The default is 1 day, what means that today’s job reports will be kept only and all reports from yesterday on are deleted.
Clicking on the button Delete reports you get the result window presented telling you the number of job reports deleted.
Installation
This plug-in can be installed using the combined setup routine for all jRQL API based plug-ins. Follow the instruction in this blog to download the installer and configure the plug-ins you want.
For API developers
The functionality is delivered by the API with the method Project > deletePublishingJobReports(). With a little loop over several projects you can get rid of job reports very easy.