home · contact · privacy
Extend sysadmin mailing tasks.
[config] / jessie_start_server.sh
index 63dd4ad215a70c14274aed4c5275ec1e9bb06730..d3af7fbfe515b4a2f398f71abebe5e2db245d5d6 100755 (executable)
@@ -98,6 +98,10 @@ cp config/systemfiles/aliases /etc/aliases
 newaliases
 service postfix restart
 
+# Set up regular system update reminder.
+apt-get -y install cron
+su plom -c "echo '0 0 * * 0 ~/config/bin/simplemail.sh ~/config/mails/update_reminder' | crontab -"
+
 # Set up screen.
 apt-get -y install screen