LinHES Forums
http://forum.linhes.org/

Cron jobs can't run, LinHES is never Idle
http://forum.linhes.org/viewtopic.php?f=21&t=30007
Page 1 of 1

Author:  mattbatt [ Sat Aug 22, 2020 12:22 am ]
Post subject:  Cron jobs can't run, LinHES is never Idle

OK so in trying to figure out my other problem I noticed in a couple of the log files that defrag wasn't running and neither were backups because the system has not been "Idle".
How do I figure out what is keeping defrag from running? I have no apps open and MythTV is on the home menu screen.

Author:  bgrant3406 [ Sat Aug 22, 2020 5:28 am ]
Post subject:  Re: Cron jobs can't run, LinHES is never Idle

Sounds like you have a program showing as in-use.

Basically you log into MySQL and delete the entry from the table.

Here are some notes, replace the ???? In the last statement with chanid shown, repeat for all programs shown, basically you redo the last two steps below to identify, then clear the table.

Clear inuseprograms table blocking maintenance
Code:
[mythtv@mbe ~]$sudo mysql
mysql> use mythconverg;
mysql> select * from inuseprograms;
mysql> DELETE FROM inuseprograms WHERE chanid = ????;


HTH
Regards

Author:  mattbatt [ Sun Aug 23, 2020 11:28 pm ]
Post subject:  Re: Cron jobs can't run, LinHES is never Idle

Well it didn't take on the first try I had to go into the Job Queue and delete commflag job and then I waited 10 minutes and it didn't run because I was in the Job Queue and not on the main menu, So I exited to the main menu and waited 10 minutes an then Myth_MTC ran for the first time in months.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/