The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: Tivo Daily Mail And Cron Code and Instructions


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: Re: Tivo Daily Mail And Cron Code and Instructions
  • From: "Don McAllister" <donmc@xxxxxxx>
  • Date: Tue, 11 Nov 2003 06:05:42 -0000
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

The location of the dailymail.tcl file doesn't matter as long as cron and
the startup scripts are correct in having the actual location.

The location of the cron files may be hardcoded somewhere so these need to
be where the instructions say.

I had three problems setting mine up originally:

Blank lines at the top of dailymail.tcl - caused the program to fail. As
yours is runnning OK from telnet this probably isn't the case.

A missing line half way through the file - don't know how this happened but
again as yours is runnning OK from telnet this probably isn't the case.

I couldn't ge tcron to work using the supplied crontab file. I had to
source
a new crontab file (available as dailymail-crontab.zip) and use that. The
new crontab seemed to work.

If you can't get to the bottom of it, I'd suggest posting a message on
http://www.tivocommunity.com/tivo-vb/showthread.php?s=d493099b8eee3bae022427
44ee3868f0&threadid=140252 where sanderton hangs out. He's normally
very
helpful and on the money when diagnosing these sorts of problems.

Cheers
Don

> -----Original Message-----
> From: Nick Austin [mailto:nick1@xxxxxxx]
> Sent: 11 November 2003 01:18
> To: ukha_d@xxxxxxx; ukha_d@xxxxxxx
> Subject: Re: [ukha_d] Re: Tivo Daily Mail And Cron Code and
> Instructions
>
> At 12:57 PM 2003-11-10 +0000, Tony Butler wrote:
>  >
>  >I will be adding to the how-to real soon now.
>
> Look forward to it.
>
>  > Got it up and running at the weekend but then cron seemed
> to fail yesterday  > morning - till I looked at the crontab
> which was set to send emails mon-fri  > only ;)
>
> I've got this far as well.  I thought originally it was
> because I've put all the tcl and executable files under
> /devbin and something objected.
>
> However I've just re-installed under /var/hack and I still
> have the same problem!
>
> If I type /var/hack/dailymail.tcl from telnet it works!  I
> get an email.
>
> cron also appears to be running and creates entries in
> /var/hack/cron/log similar to:
>
> cron (11/11-01:10:00-193) CMD (/var/hack/dailymail.tcl  >
> /var/hack/cron/out.log .txt 2> /var/hack/cron/err.log.txt &)
>
> But... this time there is no email and no error message.  :(
>
> /var/hack/cron/out.log is an empty file.
>
> /var/hack/cron/err.log.txt contains the following cryptic message:
>
> WARNING: couldn't scan startup script /tvlib/tcl/tv/tv.ini
> WARNING: eval result : can't read "env(TIVO_ROOT)": no such
> element in arrayunab le to initialize filesystem
>      while executing
> "dbopen"
>      (file "/var/hack/dailymail.tcl" line 505)
>
> /tvlib/tcl/tv/tv.ini definitely exists!
> bash-2.02# ls -al /tvlib/tcl/tv/tv.ini
> -rw-r--r--   1 0        0            9102 Sep 25  2001
> /tvlib/tcl/tv/tv.ini
>
> Anyone else have this problem or know the solution?
>
> Nick.
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~--> Buy Ink Cartridges or Refill Kits
> for your HP, Epson, Canon or Lexmark Printer at MyInks.com.
> Free s/h on orders $50 or more to the US & Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/IBOolB/TM
> --------------------------------------------------------------
> -------~->
>
> UKHA 2004: 15th and 16th May 2004
>
> http://www.automatedhome.co.uk
> Post message: ukha_d@xxxxxxx
> Subscribe:  ukha_d-subscribe@xxxxxxx
> Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
> List owner:  ukha_d-owner@xxxxxxx
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.