<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Put it in /etc/crontab not your own crontab, so it's running as
    root.<br>
        -Josiah<br>
    <br>
    <div class="moz-cite-prefix">On 7/14/16, 3:53 PM, McDonald, Daniel
      (Dan) wrote:<br>
    </div>
    <blockquote
      cite="mid:3F14F84C-13C7-4478-B6BF-C99E600FB935@austinenergy.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Title" content="">
      <meta name="Keywords" content="">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">More than
            likely, you are running from the command line with a
            different user than cron, so the cron user doesn’t have the
            same permissions as the logged in user.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal"><b><span
                style="font-family:Calibri;color:black">From: </span>
            </b><span style="font-family:Calibri;color:black">mrtg
              <a class="moz-txt-link-rfc2396E" href="mailto:mrtg-bounces+dan.mcdonald=austinenergy.com@lists.oetiker.ch"><mrtg-bounces+dan.mcdonald=austinenergy.com@lists.oetiker.ch></a>
              on behalf of thomaz portella <a class="moz-txt-link-rfc2396E" href="mailto:thomazp@gmail.com"><thomazp@gmail.com></a><br>
              <b>Date: </b>Thursday, July 14, 2016 at 12:40 PM<br>
              <b>To: </b><a class="moz-txt-link-rfc2396E" href="mailto:mrtg@lists.oetiker.ch">"mrtg@lists.oetiker.ch"</a>
              <a class="moz-txt-link-rfc2396E" href="mailto:mrtg@lists.oetiker.ch"><mrtg@lists.oetiker.ch></a><br>
              <b>Subject: </b>[mrtg] I still couldn't execute mrtg
              using cron.<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <div>
            <p>I still couldn't executing mrtg using machine cron.<br>
              I supposed cron wasn't running, but I put a simple script
              and worked.<br>
              I didn't put the mrtg command itself, but instead I made a
              script with the command, changed the file to be
              executable, and put the name of this file in the crontab.<br>
              But doesn't run .<br>
              To ensure the script was right, tiping by cmd line, it
              works.<br>
              Anyone knows what is wrong?<br>
              Thanks <o:p></o:p></p>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mrtg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
-----
Wm. Josiah Erikson
Head, Systems and Networking
Hampshire College
Amherst, MA 01002
</pre>
  </body>
</html>