From owner-freebsd-isp@FreeBSD.ORG Fri Apr 1 19:03:48 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B620E16A4CE for ; Fri, 1 Apr 2005 19:03:48 +0000 (GMT) Received: from mx2.duracom.net (mx2.duracom.net [65.66.8.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6914143D48 for ; Fri, 1 Apr 2005 19:03:48 +0000 (GMT) (envelope-from kris.mcelroy@duracom.net) Received: from duracom.net (mail.duracom.net [65.66.8.3]) by mx2.duracom.net (Postfix) with ESMTP id 4D833D54E4 for ; Fri, 1 Apr 2005 13:13:40 -0600 (CST) (envelope-from kris.mcelroy@duracom.net) Received: from KrisLaptop [65.66.11.103] by duracom.net with ESMTP (SMTPD32-8.05) id AB0B5BF019A; Fri, 01 Apr 2005 13:03:39 -0600 From: "Kris McElroy" To: Date: Fri, 1 Apr 2005 13:02:49 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcU27WWjwr7QhWJIQG+c3fjq4XpCNg== Message-Id: <200504011303920.SM01232@KrisLaptop> X-Declude-Sender: kris.mcelroy@duracom.net [65.66.11.103] X-Declude-Spoolname: D9b0b05bf019a9b3c.SMD Subject: Cron and File Manipulation X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 19:03:48 -0000 First of all I am a newbie to FreeBSD and if I need to be pointed somewhere else let me know. I have 2 questions I have a .sh script that I want to run every 25 minutes everyday So would I do the following: 25 * * * * root /usr/local/bin/MY.sh > /dev/null 2>&1 Also in the above script I want to add a line in my log file Echo >> MY SH Completed The thing is I would like to date and timestamp it, how could I do that? Thanks, Kris McElroy kmcelroy@duracom.net Chief Technology Officer Duracom, INC. www.duracom.net