From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:52:00 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B40516A4CE for ; Fri, 14 Jan 2005 21:52:00 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE8F643D2F for ; Fri, 14 Jan 2005 21:51:59 +0000 (GMT) (envelope-from gustavodn@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so802633wri for ; Fri, 14 Jan 2005 13:51:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=lwmzSVkeJ/D21kwIaYFDEFCfN69nwyp3UwKPT9Q8Mn227TwrRjbBD8W3S/Q0kurftxIr8T07GmHzT3DvfedrgV37lgBNSwrcypkvBzK+ykhuxdjl16UNiPoO6vOMHK9M+rm8cnBSo5f5YSXOIXzDIvdhXFgEM8kk2whcLKVYLFA= Received: by 10.54.53.21 with SMTP id b21mr507559wra; Fri, 14 Jan 2005 13:51:59 -0800 (PST) Received: from lenore.brujeria ([201.2.205.121]) by smtp.gmail.com with ESMTP id d6sm1144wra.2005.01.14.13.51.56; Fri, 14 Jan 2005 13:51:59 -0800 (PST) From: Gustavo De Nardin To: freebsd-questions@freebsd.org Date: Fri, 14 Jan 2005 19:54:48 -0200 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501141954.49243.gustavodn@gmail.com> Subject: Re: boot up notification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 21:52:00 -0000 Jim Pazarena wrote: > I would like one of my servers to send me an email when > it boots. I envision a script in rc.conf to do this. > > Is there an easier way, or an automatic system which can do this? You could set up a cronjob to run at '@reboot': $ crontab -l @reboot echo | mail -s "The eagle has landed" root See crontab(5).