<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Automated reporting of failed tasks in ArcGIS Notebooks Ideas</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idi-p/1021411</link>
    <description>&lt;P&gt;Hi, we have a lot of notebooks on our notebook server that have scheduled tasks. Sometimes some of them fail and we have to manually check all to find out if some of them do. It would be really nice if there was some kind of reporting dashboard(could be very simple) that would show if there were failed tasks and if so which one failed.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 07:40:07 GMT</pubDate>
    <dc:creator>RobertSpál1</dc:creator>
    <dc:date>2021-01-29T07:40:07Z</dc:date>
    <item>
      <title>Automated reporting of failed tasks</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idi-p/1021411</link>
      <description>&lt;P&gt;Hi, we have a lot of notebooks on our notebook server that have scheduled tasks. Sometimes some of them fail and we have to manually check all to find out if some of them do. It would be really nice if there was some kind of reporting dashboard(could be very simple) that would show if there were failed tasks and if so which one failed.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 07:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idi-p/1021411</guid>
      <dc:creator>RobertSpál1</dc:creator>
      <dc:date>2021-01-29T07:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automated reporting of failed tasks</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idc-p/1021460#M32</link>
      <description>&lt;P&gt;It’s no dashboard, but if you are using try catch finally in your books you can wire in some logging components to capture the fails. &amp;nbsp;Then in the finally blocks, check the logs for errors and send an email or text message to whomever needs to know. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 11:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idc-p/1021460#M32</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-01-29T11:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automated reporting of failed tasks</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idc-p/1021495#M33</link>
      <description>&lt;P&gt;Building off of your idea and @Anonymous User's comment, we actually built our own "Notebook Admin Dashboard". Here's what we did:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a standalone table with the following fields:&lt;UL class="lia-list-style-type-square"&gt;&lt;LI&gt;Timestamp&lt;/LI&gt;&lt;LI&gt;Level / Severity&lt;/LI&gt;&lt;LI&gt;Message&lt;/LI&gt;&lt;LI&gt;Origin&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Add some try/catch/finally to your notebooks&lt;/LI&gt;&lt;LI&gt;Implement a "logging" process on the basis of step 2&lt;UL class="lia-list-style-type-square"&gt;&lt;LI&gt;Instead of logging to a traditional text file, submit log as edits to the standalone table form step 1&lt;/LI&gt;&lt;LI&gt;We use a custom "add_log(&lt;EM&gt;message, level, origin&lt;/EM&gt;)" function to submit ours to make the rest of the script a little cleaner and easy to read&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Create a dashboard that references the standalone table&lt;UL class="lia-list-style-type-square"&gt;&lt;LI&gt;Table rows as a &lt;STRONG&gt;list&lt;/STRONG&gt; element&lt;/LI&gt;&lt;LI&gt;Side / header bar with selectors for severity / origin / time range&lt;/LI&gt;&lt;LI&gt;Indicators for a single-glance view of "how many errors in past 24 hours", etc&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jCarlson_0-1611928985035.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4887i84375FF7DF3A25D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jCarlson_0-1611928985035.png" alt="jCarlson_0-1611928985035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you wanted to take it a step further, you can even add &lt;EM&gt;webhooks &lt;/EM&gt;to the standalone table layer to send emails when there are certain edits.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 14:04:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idc-p/1021495#M33</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-01-29T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Automated reporting of failed tasks - Status changed to: Under Consideration</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idc-p/1168181#M67</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/200368"&gt;@RobertSpál1&lt;/a&gt;&amp;nbsp;Is this Notebooks in ArcGIS Enterprise or ArcGIS Online. Administrators have the ability to view all scheduled tasks via the Notebook server manager in ArcGIS Enterprise. A similar capability is not available in ArcGIS Online yet. We have an open issue for presenting tasks information for non-admin notebook users. Will add your thoughts/feedback to that issue.&lt;/P&gt;&lt;P&gt;Optionally you can use the ArcGIS API for Python in a notebook to view/manage your scheduled tasks:&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.tasks.html" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.tasks.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp; for your feedback and alternate suggestions.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 00:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-ideas/automated-reporting-of-failed-tasks/idc-p/1168181#M67</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2022-04-27T00:24:45Z</dc:date>
    </item>
  </channel>
</rss>

