View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: cron
PostPosted: Sun Apr 15, 2012 6:15 am 
Offline
Joined: Sat Nov 05, 2005 4:37 am
Posts: 191
Location: Cornwall - uk
so cron does not seem to work with the user mythtv...
cron is run from runit (who knows why) with all the output piped to /dev/null (useful)
(I am not sure if the is a arch think or a linhes thing but it seems daft to have another process running that runs cron which it designed to run as a daemon)

I removed the runit version and called /etc/rc.d/crond start from /etc/runit/1.local, that's a bit better,still not good though...

So I stopped it and ran it with debug, lots of good stuff and it seems to work with user mythtv, not sure what or why and maybe it was working, but I was trying to run mythfilldatabase since it does not seem to work from the backend. See another post on this problem.

Of course I thought it would be nice to have errors emailed to me but sendmail is not installed or postfix or anything it seems... I did find sendmail.pl <good> but it uses perl libs and they are not installed on linhes <boo>.

All this grief is starting to drive me towards doing my own mythtv box and not using linhes, but I do love the simplicity of the install and running of the box and the fact that most things work most of the time. Compiling stuff is a pain and general development, I have tried to set up a dev area but that seems hard as well, almost like it is done on purpose.

Anyway enough ranting at least mythfilldatabase is working again, now on to the xine freezing when you hit the exit button. :-(

_________________
--
stinga

as of 17-May-2018
R8.2 - sort of working.
MB: gigabyte GA-P43-ES3G | RAM: 2GB
VGA: PNY Nvidia GT240 1GB
4 x Technisat skystar 2 dvb | 1 x TBS6981 dvb-s2
pata: 1x300Gb | sata: 2x1Tb 2x2Tb
Problems:
TBS6981 Does not work.


Top
 Profile  
 
 Post subject: Re: cron
PostPosted: Sat Apr 21, 2012 7:41 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
Cron does in fact work with the user mythtv, I just tried it and it worked without issue. One of the main reasons cronjobs fail is because of a missing PATH,working environment or simply messed up the crontab entry.

As far as the difference between running cron from 1.local or "runit" it makes little difference. Either way, they are started and under the control of the runit init system. The main difference is that when run from 1.local cron will not restart if it's killed off.

Quote:
seems daft to have another process running that runs cron which it designed to run as a daemon

Well thats pretty much included in the definition of ANY init system, to start a process thats designed to run as a daemon. All linux distros do this.

Quote:
Of course I thought it would be nice to have errors emailed to me but sendmail is not installed or postfix or anything it seems... I did find sendmail.pl <good> but it uses perl libs and they are not installed on linhes <boo>.

This comes up from time to time, and for the most part installing a fullblown MTA just isn't required for a LinHES machine. If sendmail.pl is missing perl libs, please file a ticket as to which ones so they can be added.


Quote:
I have tried to set up a dev area but that seems hard as well, almost like it is done on purpose.

I can assure you that nothing was put in place to make setting up a dev environment hard. Any LinHES machine can be used for dev work.
Just install base-devel group, grab a copy of the LinHES PKGBUILD (either a static copy of git) and your well on your way.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu