AnsweredAssumed Answered

scheduled job , queryTemplate

Question asked by natgeek on Oct 31, 2016
Latest reply on Feb 3, 2017 by shyam42

Hi, guys.

I need a help:)

i try to make simple scheduled job, which will run script. I want to run that script only once at every 10 minutes.

I checked tutorial and some articles here, i found out that query template should be  like below

 

<property name="queryTemplate">

            <value>PATH:"/app:company_home"</value>

</property>

 

My job starts, works, but it runs 3 times script

 

016-10-31 11:10:00,304 DEBUG [org.alfresco.repo.jscript.ScriptLogger] [DefaultScheduler_Worker-6] ====== start wf====

2016-10-31 11:10:00,307 DEBUG [org.alfresco.repo.jscript.ScriptLogger] [DefaultScheduler_Worker-10] ====== start wf====

2016-10-31 11:10:00,285 DEBUG [org.alfresco.repo.jscript.ScriptLogger] [DefaultScheduler_Worker-8] ====== start wf====

 

What is wrong?  I can not realised that.

Please help.

Outcomes