LinHES Forums http://forum.linhes.org/ |
|
changing time for mythfilldatabase -quite http://forum.linhes.org/viewtopic.php?f=6&t=841 |
Page 1 of 1 |
Author: | graysky [ Sat Feb 28, 2004 2:34 pm ] |
Post subject: | changing time for mythfilldatabase -quite |
Is there a way I can select when (say at 6 PM each night) the /etc/cron.daily/mythtv-backend will run? |
Author: | Xsecrets [ Sat Feb 28, 2004 5:05 pm ] |
Post subject: | |
well you can't change just mythtv-backend, through the system cron jobs, but you can change all daily cron jobs to run at a different time by editing /etc/crontab (you have to restart cron after editing it.) or you could remove it from cron.daily and setup a user cron job at whatever time you want if you need to just change that one job. |
Author: | graysky [ Sun Feb 29, 2004 7:27 pm ] |
Post subject: | |
Hey cool... when I read the man page for crontab it cautioned against editing /etc/crontab manually. Did it anyway and now everything is cool. Thanks for the help Xsecrets. |
Author: | Xsecrets [ Sun Feb 29, 2004 11:59 pm ] |
Post subject: | |
yes well the reason you don't want to edit crontab directly is that cron will not see the changes untill the next time it is restarted either by a reboot, or manually restarted with the init script. |
Author: | dev [ Mon Mar 01, 2004 6:02 am ] |
Post subject: | |
that's why there is a command crontab -e. |
Author: | Xsecrets [ Mon Mar 01, 2004 9:55 am ] |
Post subject: | |
yes I know of that command for the user crontabs, but how do you use it to edit the system crontab? I'm not saying you can't I just don't know how. |
Author: | dev [ Mon Mar 01, 2004 11:25 am ] |
Post subject: | |
sorry, my fault. I was on users crontab. Hmm, can't even hide behind it being to early. ![]() I would propose to move the mythbackend cron out of the /etc/cron.d and open a mythtv user crontab. Perhaps even in general, but at least when changing the execution time. And a touch -m /etc/crontab should be enough to force cron to reload modified cron.d parts. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |