Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-updates > by-pkgid > 3b735b44c1e188a44c40f81bded6b6df > files > 909

bugzilla-4.4.12-1.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>B.2.&#160;Command-line 'Send Unsent Bug-mail' tool</title><link rel="stylesheet" type="text/css" href="../../style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><meta name="keywords" content="Bugzilla, Guide, installation, FAQ, administration, integration, MySQL, Mozilla, webtools"><link rel="home" href="index.html" title="The Bugzilla Guide - 4.4.12 Release"><link rel="up" href="patches.html" title="Appendix&#160;B.&#160;Contrib"><link rel="prev" href="cmdline.html" title="B.1.&#160;Command-line Search Interface"><link rel="next" href="install-perlmodules-manual.html" title="Appendix&#160;C.&#160;Manual Installation of Perl Modules"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">B.2.&#160;Command-line 'Send Unsent Bug-mail' tool</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cmdline.html">Prev</a>&#160;</td><th width="60%" align="center">Appendix&#160;B.&#160;Contrib</th><td width="20%" align="right">&#160;<a accesskey="n" href="install-perlmodules-manual.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="cmdline-bugmail"></a>B.2.&#160;Command-line 'Send Unsent Bug-mail' tool</h2></div></div></div><p>
      Within the <code class="filename">contrib</code> directory
      exists a utility with the descriptive (if compact) name
      of <code class="filename">sendunsentbugmail.pl</code>. The purpose of this
      script is, simply, to send out any bug-related mail that should
      have been sent by now, but for one reason or another has not.
    </p><p>
      To accomplish this task, <code class="filename">sendunsentbugmail.pl</code> uses
      the same mechanism as the <code class="filename">sanitycheck.cgi</code> script;
      it scans through the entire database looking for bugs with changes that
      were made more than 30 minutes ago, but where there is no record of
      anyone related to that bug having been sent mail. Having compiled a list,
      it then uses the standard rules to determine who gets mail, and sends it
      out.
    </p><p>
      As the script runs, it indicates the bug for which it is currently
      sending mail; when it has finished, it gives a numerical count of how
      many mails were sent and how many people were excluded. (Individual
      user names are not recorded or displayed.) If the script produces
      no output, that means no unsent mail was detected.
    </p><p>
      <span class="emphasis"><em>Usage</em></span>: move the sendunsentbugmail.pl script
      up into the main directory, ensure it has execute permission, and run it
      from the command line (or from a cron job) with no parameters.
    </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="cmdline.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="patches.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="install-perlmodules-manual.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">B.1.&#160;Command-line Search Interface&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Appendix&#160;C.&#160;Manual Installation of Perl Modules</td></tr></table></div></body></html>