From owner-freebsd-questions@FreeBSD.ORG Tue Apr 4 23:03:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5237E16A422 for ; Tue, 4 Apr 2006 23:03:25 +0000 (UTC) (envelope-from mmp013@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B64243D46 for ; Tue, 4 Apr 2006 23:03:21 +0000 (GMT) (envelope-from mmp013@gmail.com) Received: by pproxy.gmail.com with SMTP id m51so21962pye for ; Tue, 04 Apr 2006 16:03:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=OdScSycRJ5YjQf1bgIQMQCEN71L04eLrUSdZ0PrdVifMFjPmkh+h1ZltlfNaSSKRRYHS0vsC2JLntb2vyaOa2AZkNiruyFPe0R+tcD4XCdPYJ9XpEIg9zNLo7/QwWmLRQhCbkvZLirEO/Ei9DRZ4IA45HhvS+lgA6JCqWQ87E7Q= Received: by 10.35.100.6 with SMTP id c6mr631315pym; Tue, 04 Apr 2006 16:03:20 -0700 (PDT) Received: by 10.35.106.16 with HTTP; Tue, 4 Apr 2006 16:03:20 -0700 (PDT) Message-ID: Date: Wed, 5 Apr 2006 07:03:20 +0800 From: "Marlon Martin" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: cron question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 23:03:25 -0000 i created a simple shell script: filename: rn #!/bin/sh rndc dumpdb what it does, is just dump the hostname and IP addresses in /var/dump i set the time in 2 minutes but when i checked the logs, it doesnt work any idea what did i missed here? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D SHELL=3D/bin/sh PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin HOME=3D/var/log # #minute=09hour=09mday=09month=09wday=09who=09command # */5=09*=09*=09*=09*=09root=09/usr/libexec/atrun # # Save some entropy so that /dev/random can re-seed on boot. */11=09*=09*=09*=09*=09operator /usr/libexec/save-entropy # # Rotate log files every hour, if necessary. 0=09*=09*=09*=09*=09root=09newsyslog # # Perform daily/weekly/monthly maintenance. 1=093=09*=09*=09*=09root=09periodic daily 15=094=09*=09*=096=09root=09periodic weekly 30=095=091=09*=09*=09root=09periodic monthly /2 * * * * root /home/ken/rn # # Adjust the time zone if the CMOS clock keeps local time, as opposed to # UTC time. See adjkerntz(8) for details. 1,31=090-5=09*=09*=09*=09root=09adjkerntz -a