[mythtv-users] Anyone using in crontab?

Happy Harry gnoise at gmail.com
Mon Dec 24 22:29:11 UTC 2007


On Dec 24, 2007 10:48 PM, nospam312 <nospam312 at gmail.com> wrote:
> you can try adding ">
> > /tmp/thiscronjob.log 2>&1" after the command in the crontab.
>
> Very confused now.
>
> After adding "> /tmp/output.log 2>&1" everything works, if I remove it
> it stops working again.  Does anyone have any idea why this is the
> case?  output.log never contains anything.
>
> I have added "/dev/null 2>&1" now to keep things tidy and everything
> works but have no idea why adding this or the above makes it work.
>
> Does anyone know why and when you need to add this type of statement
> to a cronjob entry?
>
>
> TIA
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

That's a very good question. What is the _exact_ line you have in your crontab?


More information about the mythtv-users mailing list