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

Joey Morris rjmorris.list at zoho.com
Fri Aug 30 19:29:30 UTC 2013


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
> > >
> > > The pm-suspend command never runs, so I attempted to force it to log to a
> > > cron.log log file, which doesn't work either.
> >
> > Aren't you missing the redirection operator? And maybe your relative
> > path to the log file is fine, but I'd remove the dot from the
> > beginning.
> >
> > 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?



More information about the mythtv-users mailing list