View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon May 09, 2005 7:24 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
elgordo123 suggested:
elgordo123 wrote:
Since the built-in mythfilldatabase is working, I think a lot of people (myself included) was/is unaware that mythtv-backend is still in cron.daily. Shouldn't that be removed by default? Maybe note stuck in the docs on how to set it back up in case someone wants to use it for whatever reason? This will really help zap2it out, I am sure most people (and all the newbies) don't even know it exists and thus pegging zap2it twice...
I replied:
tjc wrote:
I zapped it on my box, but then again I did that at the same time that I set up the internal one...
Cecil requested:
cesman wrote:
Yes, it will go away shortly. Please post under KnoppMyth -> General that it will be going away and how folks should schedule this thru the interface. I'll be sure to sticky it. Thanks,

Here is the drill... If you're using R5A12 or later:
1) As root remove /etc/cron.daily/mythtv-backend
Code:
rm /etc/cron.daily/mythtv-backend

2) From the main menu go to Utilities/Setup -> Setup -> General -> 7th screen
3) Check the box for "Automatically run mythfilldatabase"
4) Set "mythfilldatabase Path:" to /usr/bin/mythfilldatabase
5) (optional) Set "mythfilldatabase Arguments:" to --quiet (I didn't set up any logging)
6) Set the frequency, start and stop times to something reasonable. I picked a 6 hour stretch when I'm not normally watching it and it runs at a semi-random time during that window.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 09, 2005 7:38 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
:)


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 09, 2005 7:58 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
BTW - I've been doing this since shortly after upgrading to R5A12 with MythTV 0.17 and it's worked flawlessly. The only schedule feed problems I've had were due to external issues (My ISP's DNS failures, zap2it having problems, ...)


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 09, 2005 9:05 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Will this work with other grabbers, as my mythfilldatabase doesn't work with my grabber.

Thanks :)

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 09, 2005 10:21 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I suspect so. I believe all it does is run whatever process you tell it to.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 13, 2005 8:23 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
wow the forum is great I was about to post a question as to why mythweb gave me this error

Last mythfilldatabase run started on 2005-06-13 06:29 and ended on 2005-06-13 06:29. mythfilldatabase ran, but did not insert any new data into the Guide. This can indicate a potential grabber failure.
There's guide data until 2005-06-27 03:00 (14 days).

but I think I know why, guess i will know for sure tommorow

great program


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 28, 2005 9:17 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
The next release (when it is ready) doesn't have mythfilldatabase running as a cron job. You need to switch over to having MythTV run it at a random time. You've been warned.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 3:05 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
As we get closer.... Another warning.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 12:07 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Last warning. If you plan to auto upgrade, you MUST do this...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 12, 2005 12:14 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
How about detailed directions, how to disable cron job enable internal!

Craig

I enabled internal but not sure how to tell if the cron job is running or if it ever was.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 16, 2005 8:47 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
iscraigh wrote:
How about detailed directions, how to disable cron job enable internal!

Craig

I enabled internal but not sure how to tell if the cron job is running or if it ever was.
It is posts like this that drive me batty. You are asking for help, yet your tone is rather sharp. You made a modification, yet you cannot undo the modification. Normally if you do something, you should have the knowledge to undo it. If you went from steps a - n, yet got messed up someway along the way, you should post exactly what you did. The contains of cron aren't carried over during an auto-upgrade. All one has to do to remove an entry in one's crontab is cron -e. Then comment or remove what you want...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 16, 2005 10:32 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
Did not mean for the tone to be sharp just jotted a quick note, efficient but not polite I guess.

As for undoing things I could undo the internal database no problem as I did it and do keep notes on most changes i make. I just rebuilt my Myth box from ground up in one evening, a month long project my first time. I have never setup a cron job and do not know how, although I am sure a search of the forums would provide me with that info. I did not mean to offend you at all I just thought that it would be nice for noobs like myself to have a quick direction edit this file delete this command etc. Although again I must apologize because i see that earlier in this post are just such directions, I had not looked at previous pages. So for anyone else wondering what to do.
Here is the drill... If you're using R5A12 or later:
1) As root remove /etc/cron.daily/mythtv-backend
Code:
rm /etc/cron.daily/mythtv-backend

2) From the main menu go to Utilities/Setup -> Setup -> General -> 7th screen
3) Check the box for "Automatically run mythfilldatabase"
4) Set "mythfilldatabase Path:" to /usr/bin/mythfilldatabase
5) (optional) Set "mythfilldatabase Arguments:" to --quiet (I didn't set up any logging)
6) Set the frequency, start and stop times to something reasonable. I picked a 6 hour stretch when I'm not normally watching it and it runs at a semi-random time during that window.
Credit to TJC

Looking forward to the new release.

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 21, 2005 10:22 am 
Offline
Joined: Fri Oct 21, 2005 9:46 am
Posts: 1
I have question about the auto mythfilldatabase function....

Does the $time parm passed to the "Set Wakeup Time Command" script by mythbackend at shutdown time take into account the next scheduled run time for mythfilldatabase?

In otherwords, will my system power up for the next scheduled automatic mythfilldatabase run, just like it currently does for scheduled recording?

If not, I'm considering an alternative of adding code to "Set Wakeup Time Command" script to generate a random time for next run of mythfilldatabase and if it were to occur before the passed $time value, pass it to nvram-wakeup. Of course, would also need code to detect the need to run mythfilldatabase on the next boot.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu