#!/usr/bin/ruby # updatenotice.rb ## ## This is a Ruby script meant to run in a cron on a Gentoo system. ## ## The goal of this script is to email available portage updates to the system administrator ## from = "scripts@hackdmz.net" to = "magari@hackdmz.net" subject = "UPDATE NOTICE" emailHeader = < To: <#{to}> Subject: <#{subject}> Content-Type: text/plain; charset="UTF-8" Here are the results of udatenotice.rb END_OF_MESSAGE emailFooter = <