You are not logged in.
OK, ... before the flames errupt ... I'm not managing any mission-critical systems.
My interest in 'pacman -Syu' as a CRON job is for personal and friend's systems. I'm wondering if you could post your cron scripts as an example for me to learn from. How to you prefer to set your pacman.conf for this sort of thing?
I'm mostly interested in the security benefits and new-features of using new/current packages by this automation.
Thanx.
-- Linux! Isn't it time?
Offline
hum do you really need it to be that automatic ... dont you want to decide if you want need that upgrade dont you want to see the .pacsaves automation. is evil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------
Offline
I higly suggest you to do not run pacman as cronjob, but anyway there is nothing particular to do.
At first ensure you have crond configured and running.
Then just go into /etc/
there are some directory with cron.[something]
chose with which frequency youw ant to run the cron job
then just create a file in the appropriate directory
For pacman it shoul look like
#!/bin/sh
pacman -Syu
I suggest you to use the
IgnorePkg = <package> [package]
in pacman config file in wich you specify wich package MUST NOT be update, for instance lilo.
Consider that and indiscriminate automatic updating can potentially leed to an unsuable system.
Offline
Ok, thanx for the tips.
How do you force a 'Yes' answer during the upgrade to the questions Pacman may ask?
-- Linux! Isn't it time?
Offline
You're also going to have to make sure you get a 'Y' in there. Otherwise it'll just sit there waiting for you saying "Are you sure you want to upgrade?" Check out the program 'yes' to solve this.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
Thanx, again, for the tips.
-- Linux! Isn't it time?
Offline