|
Mandriva Auto Update Script |
|
|
|
|
Written by Anand
|
|
Apr 23, 2007 at 12:10 AM |
Instead of checking for the Mandriva daily available updates manually, I've created this Bash script to do my job. You may have your own method of updating your Mandriva system but this script is for newbies who would like to play with Mandriva's URPMI utilities and a little bit of cron job.
First of all, - Use your favorite editor like vi, emacs and create a bash script like this
#!/bin/bash urpmi.update -a urpmi urpmi urpmi --update --auto --auto-select
- Save this script into /etc/cron.daily directory under your desired name. My script is named as upd.cron and chmod +x the file to grant execute permission.
This would execute the script daily and will update the update source medium as well as the installed packages.
Please login or register to add comments |
|
Last Updated ( Sep 24, 2007 at 05:03 PM )
|