AnsweredAssumed Answered

Remove content script

Question asked by michaelc on Dec 13, 2013
Latest reply on Jan 12, 2014 by lista
Greetings.
I am using WCMQS on one of my many projects.
I have a problem with database locks and it seems to be coming from a publish.

I was given the following script to clear the que.

 
var nodes = search.luceneSearch("+PATH:""/app:company_home/st:sites/cm:hmornsite//*""+TYPE:""ws:publishqueueentry""");

for each(n in nodes) {
   n.remove();



Problem is this throws an error
Failed to run Actions due to error: 11134573 Failed to execute script 'workspace://SpacesStore/b522c466-9ffb-47a5-a7bf-f59fb3207979': missing ) after argument list (workspace://SpacesStore/b522c466-9ffb-47a5-a7bf-f59fb3207979#1)

the syntax's seems odd

Outcomes