On Mon, Nov 18, 2002 at 04:11:42AM -0500, ThanhVu Nguyen wrote: > Hello, how do I set up a cron job that runs "apt-get update; apt-get > dist-upgrade -yu" at 6 AM everyday and have all the upgraded result sent > to me ? I already have exim setup to send mail , I just don't know how > to write the cron job and use cron ...
Hello http://www.lysator.liu.se/~forsberg/linux/cron.html With debian you can create a script with the commands you wish to run and stick the file in /etc/cron.daily and the file will be run daily. Look in the file /etc/crontab to see or change the time that you would like the files in /etc/cron.daily to be run. That saidi, I seem to remember some people warning against upgrading one's system automatically. The choice, of course, is yours. Hope someone will write in and advise you on the wisdom of such a choice. t.irvine -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

