[mythtv-users] mythfilldatabase running at boot on V31

Jim Abernathy jfabernathy at gmail.com
Tue Feb 18 13:44:40 UTC 2020


On 2/18/20 8:31 AM, Jim Abernathy wrote:
>
> On 2/17/20 11:40 PM, Bill Meek wrote:
>> On 2/17/20 8:55 PM, Jim Abernathy wrote:
>>>
>>> On 2/17/20 1:23 PM, Bill Meek wrote:
>>>> On 2/17/20 6:17 AM, Jim Abernathy wrote:
>>>>> When I reboot, mythfilldatabase is running and updating the 
>>>>> schedules.
>>>>>
>>>>> However, I have it to run in the window from 0300 and 0500 and 
>>>>> running at the recommended time is not checked.
>>>>>
>>>>> Is there another setting they keeps mythfilldatabase from running 
>>>>> at boot?
>>>>>
>>>>> This is on my V31 Ubuntu 18.04 development system.
>>>>
>>>> If it runs at boot, then I'd wonder if there's a (ana)cron job that 
>>>> runs MFDB.
>>>> Or a systemd .timer file that runs a .service file.
>>>>
>>>> All/either in addition to the MythTV settings that run in the 
>>>> expected window.
>>>>
>>> If there is a ana/anacron job it was added as a part of V31. My 
>>> install was new O/S and only app installed was Mythtv V31
>>
>> Does the same thing happen if the backend is simply stopped
>> and restarted?
>>
> I spoke too soon about not running mythfilldatabase on a simple 
> systemctl restart.  It does run it!! Previously I check via Mythweb 
> and obviously I had not waited long enough for it to finish and 
> changed the runtime.
>
> Jim A
>
FYI, I just noticed an update to mythtv and I ran apt upgrade. After 
that upgrade it also reran mythfilldatabase.

I then rebooted and it ran ran again.

mysql> SELECT * FROM settings WHERE value LIKE '%mythfill%';
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+----------+
| value                         | data | hostname |
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+----------+
| mythfilldatabaseLastRunEnd    | 2020-02-18T13:38:57Z | NULL     |
| MythFillEnabled               | 1 | NULL     |
| MythFillDatabasePath          | mythfilldatabase | NULL     |
| MythFillMinHour               | 3 | NULL     |
| MythFillMaxHour               | 5 | NULL     |
| MythFillGrabberSuggestsTime   | 0 | NULL     |
| MythFillDatabaseArgs          | --no-allatonce | NULL     |
| mythfilldatabaseLastRunStart  | 2020-02-18T13:38:56Z | NULL     |
| mythfilldatabaseLastRunStatus | mythfilldatabase ran, but did not 
insert any new data into the Guide for 1 of 1 sources. This can indicate 
a potential grabber failure. | NULL     |
| MythFillSuggestedRunTime      | 2020-02-19T13:38:56Z | NULL     |
+-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+----------+
10 rows in set (0.00 sec)

Jim A




More information about the mythtv-users mailing list