title: How to rerun and stop app script based on the execution log info?
body: <p>I am looking to run below app script with multiple var url such as</p>
  <pre class="lang-none prettyprint-override"><code>https://www.testurl.com/link1=processing
  
  https://www.testurl.com/link2=processing
  
  https://www.testurl.com/link3=processing
  </code></pre>
  <p>How to add multiple url to below code:</p>
  <pre><code>function url() {
        var url = 'https://www.testurl.com/link1=processing';
      
        var options = {
          'method': 'get'
        };
        var response = UrlFetchApp.fetch(url, options);
        Logger.log(response);
      }
  </code></pre>
  <p>Each run with single url shows below execution log</p>
  <pre class="lang-none prettyprint-override"><code>3:33:30 AM  Notice  Execution started
  3:33:31 AM  Info        {&quot;status&quot;:200,&quot;message&quot;:&quot;Import 25 of 200 completed.&quot;}
  3:33:31 AM  Notice  Execution completed
  </code></pre>
  <p>I am looking to rerun script for first url till i get the log message containing &quot;is not triggered&quot; and then run second url and rerun till i get the log message containing &quot;is not triggered&quot; and then run third url and rerun till i get the log message containing &quot;is not triggered&quot; and then stop.</p>
  <pre class="lang-none prettyprint-override"><code>3:33:30 AM  Notice  Execution started
  3:33:31 AM  Info        {&quot;status&quot;:403,&quot;message&quot;:&quot;Import #16 is not triggered. Request skipped.&quot;}
  3:33:31 AM  Notice  Execution completed
  </code></pre>