Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Check other job before running current job #3705

cnu ·
We have 2 different job, one runs full search index and 2nd run delta index. The delta job has been scheduled to run for every couple of hours during the day, where as the full index job runs once a day during midnight.
Would it be possible for the full index job to add a check or dependency step, so that full index job would only run if the delta job is not already running?
If this works, we would like to add similar dependency for the delta job as well, so that we won't have data inconsistency issues.
  • replies 5
  • views 1079
  • stars 0
robinshen ADMIN ·
This can be achieved with resource:
http://wiki.pmease.com/display/QB70/Wor ... +Resources

For your specific issue, you may define a resource with only one count on a node, and then configure your step (both full index and increment index) to require that resource to run.
cnu ·
Thanks for the details. I have tried this today and it has worked as expected.
cnu ·
Also would it be possible to assign a resource to a job configuration as opposed to each step under the configuration?
This would help the configuration that got the resource to all the steps as opposed to switching between steps for different configuration.
robinshen ADMIN ·
You may assign the resource to master step in that case if all child steps run on the same node as master step.
15kdev ·
[quote="robinshen"]This can be achieved with resource:
http://wiki.pmease.com/display/QB70/Wor ... +Resources

For your specific issue, you may define a resource with only one count on a node, and then configure your step (both full index and increment index) to require that resource to run.[/quote]

Wow I had the same issue and I've found an answer in less than 5 minutes and I was sure that it will take me a lot of time to figure out what's going on! Thanks <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->