Skip to content

Tag Archives: crontab update via cron

apt-get via cron

08-Mar-11

IRL I’ve had a few people ask me about updating Ubuntu installations via cron. If you add something like 05 0 * * * /usr/bin/apt-get -y update ; /usr/bin/apt-get -y upgrade to root’s crontab, you’ll get errors like this: dpkg: warning: ‘ldconfig’ not found in PATH or not executable. dpkg: warning: ‘start-stop-daemon’ not found in [...]