<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 20, 2022 at 11:57 PM Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/19/22 21:02, Kevin Johnson wrote:<br>
<br>
...<br>
<br>
> Jul 19 19:16:11 hemlock mythbackend: mythbackend[139181]: I CoreContext housekeeper.cpp:663 (RegisterTask) Registering HouseKeeperTask 'MythFillDB'.<br>
> <br>
> It is possible that mythfilldatabase does not start after the backend is shutdown then restarted. I know a few days ago I had a power outage. <br>
> I think that was July 16. Possibly.<br>
> <br>
> I could do a reboot and then see if the issue occurs again.<br>
<br>
OK, the problem is the missing entry in housekeeping (I removed mine and caused the failure.)<br>
<br>
In the following, each SQL command is all on one line, in case your email client<br>
folds them.<br>
<br>
Do this:<br>
<br>
SELECT * FROM housekeeping WHERE tag='MythFillDB';<br>
<br>
If there are still no matching entries, then do this:<br>
<br>
INSERT INTO housekeeping (tag,lastrun,lastsuccess) VALUES('MythFillDB',TIMESTAMP('2022-07-21 03:01:01'),TIMESTAMP('2022-07-21 03:01:01')) LIMIT 1;<br>
<br>
If (somehow) an entry got added and the timestamps don't make any sends, then do this:<br>
<br>
UPDATE housekeeping SET lastrun=TIMESTAMP('2022-07-21 03:02:01'),lastsuccess=TIMESTAMP('2022-07-21 03:02:01') WHERE tag='MythFillDB' LIMIT 1;<br>
<br>
-- <br>
Bill<br><br></blockquote><div>Without knowing exactly what I am doing so I stopped here.</div><div><br></div>mysql> SELECT * FROM housekeeping WHERE tag='MythFillDB';<br><div>ERROR 1046 (3D000): No database selected</div><div><br></div><div>Did I miss a step? </div></div></div>