<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello Oskar,</p>
    <p>the problem is that the task goes to suspended state, right?</p>
    <p>Looking at JobExecutor:486, this behavior is currently hardcoded.
      It is not a big deal to introduce appropriate configuration
      parameter, but it would require some design thinking.<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 06.09.2017 11:08, Oskar Butovič -
      AMI Praha a.s. wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAE8MtZDW3VgzixgKO+f-7R-ygb2U-mTpMHsJELQ6pkpZXTfh-w@mail.gmail.com">
      <div dir="ltr">Hello everybody!
        <div><br>
        </div>
        <div>We have certain server tasks, for example, reconcilliation
          of GA groups, which sometimes fails but next run is usually ok
          because all data inconsistencies got fixed by the previously
          failed task execution.</div>
        <div><br>
        </div>
        <div>We would like to run again those tasks even though they
          have (fatally) failed before. I was unable to find the correct
          scheduling configuration to enforce this behavior. Is it
          configured only by Misfire action and Thread stop action or
          are there any other hidden configuration parameters? What
          should be correct configuration to execute a failed task on
          next scheduled interval or right after fail?</div>
        <div><br>
        </div>
        <div>Best Regards</div>
        <div>Oskar Butovič<br>
          -- <br>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div dir="ltr">
                        <table
style="font-family:Verdana,Arial,Helvetica,sans-serif;border-collapse:collapse;padding:0px;margin:0px;border-width:0px!important;border-style:solid!important;width:482px!important">
                          <tbody>
                            <tr style="padding:0px;margin:0px;border:0px
                              solid gray!important">
                              <td
style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;width:160px;vertical-align:bottom;padding:0px;border:0px
                                solid gray!important">
                                <p><span
                                    style="font-size:14px;font-weight:bold">Oskar
                                    Butovič</span><br>
                                  solution architect<br>
                                  <br>
                                  gsm: [+420] 774 480 101<br>
                                  e-mail: <a
                                    href="mailto:oskar.butovic@ami.cz"
                                    target="_blank"
                                    moz-do-not-send="true">oskar.butovic@ami.cz</a></p>
                              </td>
                              <td
style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;border-right-width:1px;border-right-style:solid;border-right-color:rgb(204,204,204);padding:0px;border-top-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-top-style:solid!important;border-bottom-style:solid!important;border-left-style:solid!important;border-top-color:gray!important;border-bottom-color:gray!important;border-left-color:gray!important">   </td>
                              <td
style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;border:0px
                                solid gray!important">   </td>
                              <td
style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;vertical-align:bottom;padding:0px;width:123px;border:0px
                                solid gray!important">
                                <p>AMI Praha a.s.<br>
                                  Pláničkova 11<br>
                                  162 00 Praha 6<br>
                                  tel.: [+420] 274 783 239<br>
                                  web: <a href="http://www.ami.cz/"
                                    target="_blank"
                                    moz-do-not-send="true">www.ami.cz</a></p>
                              </td>
                              <td
style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;border-right-width:1px;border-right-style:solid;border-right-color:rgb(204,204,204);padding:0px;border-top-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-top-style:solid!important;border-bottom-style:solid!important;border-left-style:solid!important;border-top-color:gray!important;border-bottom-color:gray!important;border-left-color:gray!important">   </td>
                              <td
style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;border:0px
                                solid gray!important">   </td>
                              <td
style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;margin:8px;border:0px
                                solid gray!important;width:116px">
                                <p><img
                                    src="http://www.ami.cz/images/podpis/ami_logo.gif"
                                    alt="AMI Praha a.s."
                                    style="border:0px"
                                    moz-do-not-send="true"></p>
                              </td>
                            </tr>
                            <tr style="padding:0px;margin:0px;border:0px
                              solid gray!important">
                              <td colspan="7"
style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;width:480px;border:0px
                                solid gray!important"><br>
                                <a
href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"
                                  target="_blank" moz-do-not-send="true"><img
src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png" alt="AMI
                                    Praha a.s."
                                    style="border:0px;width:480px!important;height:82px!important"
                                    moz-do-not-send="true"></a></td>
                            </tr>
                            <tr style="padding:0px;margin:0px;border:0px
                              solid gray!important">
                              <td colspan="7"
style="color:rgb(128,128,128);font-family:Arial,sans-serif;font-size:11px;padding:0px;border:0px
                                solid gray!important"><br>
                                Textem tohoto e-mailu podepisující
                                neslibuje uzavřít ani neuzavírá za
                                společnost AMI Praha a.s.<br>
                                jakoukoliv smlouvu. Každá smlouva, pokud
                                bude uzavřena, musí mít výhradně
                                písemnou formu.<br>
                                <br>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>