Auto update Observium with crontab

Therefore that Observium doesn't use APT for updating, it can't be upgraded with unattended-upgrades for example. Nevertheless Observium can automatically be upgraded with a crontab:

This way of updating was only tested for the enterprise version of Observium!Create a crontab file with the following content:

#!/usr/bin/bash MAILTO=<mail-address> echo "" echo "» Updating Observium to latest version «" echo "" echo "" /usr/bin/svn update /opt/observium --non-interactive --no-auth-cache --username <username> --password <password> echo "" echo "» Update finished «" echo "" # touch this file to leave a fingerprint, if mailing fails touch /root/updated.txt

In case that your system has a proper configured mailutils-package, the output of the crontab will be sent to the configured mail address at MAILTO=.