<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 3:37 PM, Bill Meek <span dir="ltr">&lt;<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 08/30/2013 02:29 PM, Joey Morris wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
Captain Hook &lt;<a href="mailto:captainhookzero@gmail.com" target="_blank">captainhookzero@gmail.com</a>&gt; wrote on Fri, Aug 30, 2013 at 03:12:39PM -0400:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
On Fri, Aug 30, 2013 at 2:37 PM, Joey Morris &lt;<a href="mailto:rjmorris.list@zoho.com" target="_blank">rjmorris.list@zoho.com</a>&gt; wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
Captain Hook &lt;<a href="mailto:captainhookzero@gmail.com" target="_blank">captainhookzero@gmail.com</a>&gt; wrote on Fri, Aug 30, 2013 at<br>
12:43:48PM -0400:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
Here are the contents of my crontab file:<br>
<br></div>
30 2 * * * root /usr/sbin/pm-suspend 2&gt;&amp;1 ./home/user/Templog/Cron.log &lt;-------------------<br>
</blockquote></blockquote></blockquote></blockquote>
...<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
30 2 * * * root /usr/sbin/pm-suspend 2&gt;&amp;1 &gt; /home/user/Templog/Cron.log &lt;-------------------<br>
<br>
</blockquote><div class="im">
<br>
I removed the dot and it still did not run or write anything to the log<br>
file.  I did reboot the PC as well and changed the time.  Log file is still<br>
blank.<br>
</div></blockquote><div class="im">
<br>
Did you also add the redirection operator?<br>
<br>
</div></blockquote>
<br>
I&#39;d also suggest becoming root (temporarily) and typing: mail.<br>
<br>
I suspect there&#39;s an error mail in roots mailbox for every time<br>
cron attempted to run your command. Could give you a hint, although<br>
Joey Morris is right about the redirection.<span class=""><font color="#888888"><br>
<br>
-- <br>
Bill</font></span><div class=""><div class="h5"><br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/<u></u>listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">Yes, I did miss the redirection operator.  I have added it, but there is no change.  It is still not writing to Cron.log (or running pm-suspend).</div><div class="gmail_extra">
<br></div><div class="gmail_extra">I typed &quot;mail.&quot; and I get the following response:</div><div class="gmail_extra"><div class="gmail_extra">user@FamilyRoomFE:/$ mail.</div><div class="gmail_extra">No command &#39;mail.&#39; found, did you mean:</div>
<div class="gmail_extra"> Command &#39;mail&#39; from package &#39;mailutils&#39; (universe)</div><div class="gmail_extra"> Command &#39;mailp&#39; from package &#39;mp&#39; (universe)</div><div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;nullmailer&#39; (universe)</div>
<div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;exim4-daemon-heavy&#39; (main)</div><div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;sendmail-bin&#39; (universe)</div><div class="gmail_extra">
 Command &#39;mailq&#39; from package &#39;courier-mta&#39; (universe)</div><div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;qmail-run&#39; (universe)</div><div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;esmtp-run&#39; (universe)</div>
<div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;dma&#39; (universe)</div><div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;ssmtp&#39; (universe)</div><div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;masqmail&#39; (universe)</div>
<div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;postfix&#39; (main)</div><div class="gmail_extra"> Command &#39;mailq&#39; from package &#39;exim4-daemon-light&#39; (main)</div><div class="gmail_extra">
 Command &#39;mailx&#39; from package &#39;mailutils&#39; (universe)</div><div><br></div><div>Or &quot;sudo mail.&quot;:</div><div><div>user@FamilyRoomFE:/$ sudo mail.</div><div>sudo: mail.: command not found</div></div><div>
<br></div><div>My apologies, I&#39;m a GUI guy trying to make it in a CLI world.  I&#39;m not used to working so much with the keyboard, but I learn quick.  ;)</div></div></div>