<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"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></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 <<a href="mailto:captainhookzero@gmail.com" target="_blank">captainhookzero@gmail.com</a>> 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 <<a href="mailto:rjmorris.list@zoho.com" target="_blank">rjmorris.list@zoho.com</a>> 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 <<a href="mailto:captainhookzero@gmail.com" target="_blank">captainhookzero@gmail.com</a>> 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>&1 ./home/user/Templog/Cron.log <-------------------<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>&1 > /home/user/Templog/Cron.log <-------------------<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'd also suggest becoming root (temporarily) and typing: mail.<br>
<br>
I suspect there'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 "mail." 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 'mail.' found, did you mean:</div>
<div class="gmail_extra"> Command 'mail' from package 'mailutils' (universe)</div><div class="gmail_extra"> Command 'mailp' from package 'mp' (universe)</div><div class="gmail_extra"> Command 'mailq' from package 'nullmailer' (universe)</div>
<div class="gmail_extra"> Command 'mailq' from package 'exim4-daemon-heavy' (main)</div><div class="gmail_extra"> Command 'mailq' from package 'sendmail-bin' (universe)</div><div class="gmail_extra">
Command 'mailq' from package 'courier-mta' (universe)</div><div class="gmail_extra"> Command 'mailq' from package 'qmail-run' (universe)</div><div class="gmail_extra"> Command 'mailq' from package 'esmtp-run' (universe)</div>
<div class="gmail_extra"> Command 'mailq' from package 'dma' (universe)</div><div class="gmail_extra"> Command 'mailq' from package 'ssmtp' (universe)</div><div class="gmail_extra"> Command 'mailq' from package 'masqmail' (universe)</div>
<div class="gmail_extra"> Command 'mailq' from package 'postfix' (main)</div><div class="gmail_extra"> Command 'mailq' from package 'exim4-daemon-light' (main)</div><div class="gmail_extra">
Command 'mailx' from package 'mailutils' (universe)</div><div><br></div><div>Or "sudo mail.":</div><div><div>user@FamilyRoomFE:/$ sudo mail.</div><div>sudo: mail.: command not found</div></div><div>
<br></div><div>My apologies, I'm a GUI guy trying to make it in a CLI world. I'm not used to working so much with the keyboard, but I learn quick. ;)</div></div></div>