How to automatically apt-get?
Miano, Steven M.
Steven.Miano at mybrighthouse.com
Tue Sep 25 12:21:00 UTC 2007
https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo
Has the way to do what you would like, its actually easier then what you have going there:
#!/bin/bash
apt-get update
apt-get upgrade -y
apt-get autoclean
Stick it in a crontab, and your done.
On the link above they have also written scripts to log any output. ; )
~Steve
CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it.
More information about the ubuntu-users
mailing list