Category Archives: Plug-ins for publication

Plug-in Delete publishing job reports

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.

 

Advertisements

Plug-in Cancel waiting publishing jobs

With this plug-in you can cancel all waiting jobs in current project in only one step. The running jobs are not canceled.

Benefit
If the publishing queue is crowded with several waiting jobs behind long running publishing job (with following pages=true) and you need to start very urgent another job, this plug-in helps you to cancel all waiting jobs in only one step.

Using jRQL I often had hundreds of publishing jobs in the queue, which I don’t want to cancel one by one – this plug-in is a complement to the possibility of automatic creation of a lot of publishing jobs, which MS did not address.

Location in SmartTree
This plug-in can be start under Administer Publication > Current Jobs.

See the following screenshot of this plug-in as it appear immediately after starting it.

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
If you need this functionality for several projects you can try the API. With a little loop over the projects you can achieve this quite easy, because the main functions behind this plug-in are delivered by the jRQL API:

  1. Project > getAllWaitingPublishingJobs()
  2. JobQueue > cancelAll()