#!/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" emailheader = < To: Magari <#{$to}> Subject: Update Notice END_OF_MESSAGE emailfooter = <