You are not logged in.

#1 2008-02-26 21:56:38

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Pacman Cron

Is this wise?

#!/bin/sh

# Update Arch Linux
if [ -x /usr/bin/pacman ]; then
    pacman -Syu --noconfirm
fi

Last edited by SpookyET (2008-02-26 21:57:16)

Offline

#2 2008-02-26 22:09:16

xdeusx
Member
Registered: 2007-10-15
Posts: 168

Re: Pacman Cron

probably not...
you will miss the upgrade messages and have no control over your system...
if something goes wrong, you won't know what caused it...

Offline

#3 2008-02-26 22:11:36

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: Pacman Cron

Worst. Idea. Ever.

Offline

#4 2008-02-26 22:25:46

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Pacman Cron

Oh sweet jesus. You're more than welcome to do this, but I just wrote your nick down on my list of "people who should have known better". I'm going to laugh hard when things start breaking for ya.

Seriously though, I *do* cron job an -Sy to keep my DB up to date, but NEVER an -Syu

Offline

#5 2008-02-27 01:09:23

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: Pacman Cron

xdeusx wrote:

probably not...
you will miss the upgrade messages and have no control over your system...
if something goes wrong, you won't know what caused it...

The output is in /var/log/pacman.log.

phrakture wrote:

Oh sweet jesus. You're more than welcome to do this, but I just wrote your nick down on my list of "people who should have known better". I'm going to laugh hard when things start breaking for ya.

I have not actually done it. I asked if it's wise. 99% of the time when I have done a manual upgrade, nothing bad happened. The other 1% of the time, file configurations have changed. Again, nothing broke. I was notified that I should delete the old files manually.

Offline

#6 2008-02-27 11:33:56

xdeusx
Member
Registered: 2007-10-15
Posts: 168

Re: Pacman Cron

yeah the output is there, but if you look in there on a regular basis there...
it's not different than doing pacman -Syu on a regular basis...

Offline

Board footer

Powered by FluxBB