[mythtv-users] PM-Suspend/Cron job/motherboard Woes

Bill Meek keemllib at gmail.com
Fri Aug 30 19:37:14 UTC 2013


On 08/30/2013 02:29 PM, Joey Morris wrote:
> Captain Hook <captainhookzero at gmail.com> wrote on Fri, Aug 30, 2013 at 03:12:39PM -0400:
>> On Fri, Aug 30, 2013 at 2:37 PM, Joey Morris <rjmorris.list at zoho.com> wrote:
>>
>>> Captain Hook <captainhookzero at gmail.com> wrote on Fri, Aug 30, 2013 at
>>> 12:43:48PM -0400:
>>>> Here are the contents of my crontab file:
>>>>
>>>> 30 2 * * * root /usr/sbin/pm-suspend 2>&1 ./home/user/Templog/Cron.log <-------------------
...
>>> 30 2 * * * root /usr/sbin/pm-suspend 2>&1 > /home/user/Templog/Cron.log <-------------------
>>>
>>
>> I removed the dot and it still did not run or write anything to the log
>> file.  I did reboot the PC as well and changed the time.  Log file is still
>> blank.
>
> Did you also add the redirection operator?
>

I'd also suggest becoming root (temporarily) and typing: mail.

I suspect there's an error mail in roots mailbox for every time
cron attempted to run your command. Could give you a hint, although
Joey Morris is right about the redirection.

-- 
Bill


More information about the mythtv-users mailing list