View previous topic :: View next topic |
Author |
Message |
Gushy Apprentice
Joined: 03 Aug 2002 Posts: 284 Location: Reading, UK
|
Posted: Mon Mar 17, 2003 11:08 am Post subject: running emerge under cron tip |
|
|
ok, I know some people will think this is a bad thing to do and I should do things manually, but I'd just do all the updates anyway so it makes little diff.
I have my LAN server setup with 3 emerges in the crontab:
1. emerge sync every night
2. emerge -u system every week
3. emerge -u world twice a month
Only problem is it didn't work.
An email I got from cron showed this:
I went through all the emerge docs I could find, and I tried setting the cronjob to run a minute after I a had tested via the command line (so I knew it was working), then it suddenly came to me.....
here's the tip
Like many people to speed up (and enable resuming) I use prozilla, I don't really need to on adsl, but it's something I did on dial-up, so it's habit.
It's prozilla that needs the terminal, not emerge. stop using prozilla and all works well. _________________ --
Gushy |
|
Back to top |
|
|
jfb3 Apprentice
Joined: 01 Feb 2003 Posts: 242
|
Posted: Mon Mar 17, 2003 1:27 pm Post subject: |
|
|
Maybe I'm missing something but why bother to sync every day if you're only going to update every 7 days? Why not just sync just before you do the update? |
|
Back to top |
|
|
Gushy Apprentice
Joined: 03 Aug 2002 Posts: 284 Location: Reading, UK
|
Posted: Mon Mar 17, 2003 2:11 pm Post subject: |
|
|
aha, well the sync every day is for the next step.
I'm setting that same server up so that my other boxes sync from it rather than going to the main rsync servers. I update those boxes at random times when they are not being used, so I want to always have the server sync'd.
The step after that is to have it download all the relevant packages for each box on the network, but that's gonna take a little more work.
The tip was just meant to illustrate that prozilla can cause a problem, guess I gave away too much info! _________________ --
Gushy |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|