<div dir="ltr">Thank you<div>-Jon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 10, 2024 at 5:00 PM Murphy, Benjamin via Evergreen-general <<a href="mailto:evergreen-general@list.evergreen-ils.org">evergreen-general@list.evergreen-ils.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg710554617407441923">
<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Here's an example query:</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
select rs.report, rs.folder, rr.create_time, rs.run_time, rs.complete_time, rs.email, aou.shortname, rr.owner, <a href="http://rr.name" target="_blank">rr.name</a>, rr.description, rr.template, rr.folder, rs.error_code, rs.error_text</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
from reporter.schedule rs</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
left join reporter.report rr on (<a href="http://rr.id" target="_blank">rr.id</a> = rs.report)</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
left join actor.usr au on (<a href="http://au.id" target="_blank">au.id</a> = rr.owner)</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
left join actor.org_unit aou on (<a href="http://aou.id" target="_blank">aou.id</a> = au.home_ou)</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
where run_time < now()</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
order by run_time desc</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
limit 500</div>
<div id="m_710554617407441923Signature">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
essentially the email is in reporter.schedule</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<p><span style="color:black"> </span></p>
<p><span style="font-family:Arial,sans-serif;font-size:10pt;color:black"><b>Benjamin Murphy</b></span></p>
<p><span style="font-family:Arial,sans-serif;font-size:10pt;color:black">NC Cardinal Program Manager</span></p>
<p><span style="font-family:Arial,sans-serif;font-size:10pt;color:black">State Library of North Carolina</span></p>
<p><span style="font-family:Arial,sans-serif;font-size:10pt;color:rgb(5,99,193)"><u><a href="mailto:benjamin.murphy@dncr.nc.gov" target="_blank">benjamin.murphy@dncr.nc.gov</a>
</u></span><span style="font-family:Arial,sans-serif;font-size:10pt;color:black"> |
<a href="https://statelibrary.ncdcr.gov/services-libraries/nc-cardinal" style="margin-top:0px;margin-bottom:0px" target="_blank">
https://statelibrary.ncdcr.gov/services-libraries/nc-cardinal</a></span></p>
<p><span style="font-family:Arial,sans-serif;font-size:10pt;color:black">109 East Jones Street | 4640 Mail Service Center </span></p>
<p><span style="font-family:Arial,sans-serif;font-size:10pt;color:black">Raleigh, North Carolina 27699-4600</span></p>
<p style="margin-top:6pt"><span style="font-family:Arial,sans-serif;font-size:10pt">The State Library is part of the NC Department of Natural & Cultural Resources.</span></p>
<p><span style="font-family:Arial,sans-serif;font-size:10pt;color:black"><i>Email correspondence to and from this address is subject to the North Carolina Public Records Law and may be disclosed to third parties.</i></span></p>
<p style="margin-bottom:12pt"><span style="background-color:rgb(255,255,0)">Please note new email address</span></p>
<p> </p>
</div>
<div id="m_710554617407441923appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_710554617407441923divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Evergreen-general <<a href="mailto:evergreen-general-bounces@list.evergreen-ils.org" target="_blank">evergreen-general-bounces@list.evergreen-ils.org</a>> on behalf of JonGeorg SageLibrary via Evergreen-general <<a href="mailto:evergreen-general@list.evergreen-ils.org" target="_blank">evergreen-general@list.evergreen-ils.org</a>><br>
<b>Sent:</b> Thursday, October 10, 2024 6:09 PM<br>
<b>To:</b> Evergreen Discussion Group <<a href="mailto:evergreen-general@list.evergreen-ils.org" target="_blank">evergreen-general@list.evergreen-ils.org</a>><br>
<b>Cc:</b> JonGeorg SageLibrary <<a href="mailto:jongeorg.sagelibrary@gmail.com" target="_blank">jongeorg.sagelibrary@gmail.com</a>><br>
<b>Subject:</b> [External] [Evergreen-general] Report question</font>
<div> </div>
</div>
<div>
<div style="background-color:rgb(255,235,156);width:100%;border-style:solid;border-color:rgb(156,101,0);border-width:1pt;padding:2pt;font-size:10pt;line-height:12pt;font-family:Calibri;color:black;text-align:left">
<span style="color:rgb(255,0,0);font-weight:bold">CAUTION:</span> External email. Do not click links or open attachments unless verified. Report suspicious emails with the Report Message button located on your Outlook menu bar on the Home tab.</div>
<br>
<div>
<div dir="ltr">Is there a way to query the database to return what report by what user is using a particular email address for report completion notification?
<div><br>
</div>
<div>I have a situation where I'm getting bouncebacks for a particular email address. That address is no longer tied to any active user account. I'd previously found a few of the old automated reports generated by former staff where they'd used that email address
on another staff account as notification when the automated report was done but it's still happening. </div>
<div><br>
</div>
<div>-Jon</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Email correspondence to and from this address may be subject to the North Carolina Public Records Law and may be disclosed to third parties by an authorized state official.<br>
</font>
</div>
_______________________________________________<br>
Evergreen-general mailing list<br>
<a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
<a href="http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general" rel="noreferrer" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><br>
</div></blockquote></div>