From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 06:38:11 2004 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 1B50216A4CF; Fri, 12 Mar 2004 06:38:11 -0800 (PST) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2B9343D45; Fri, 12 Mar 2004 06:38:10 -0800 (PST) (envelope-from Franky-Mueller@web.de) Received: from fwd00.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1B1nnd-0002MQ-01; Fri, 12 Mar 2004 15:38:09 +0100 Received: from matrix.iceman (VaeNI2ZFweG1jAQ9yu3dv9aCkCvYZzwEqQPcK5yx+78f+Tgg2SPDEY@[217.5.30.45]) by fmrl00.sul.t-online.com with esmtp id 1B1mu7-0SIO1o0; Fri, 12 Mar 2004 14:40:47 +0100 Received: from localhost (localhost.iceman [127.0.0.1]) by matrix.iceman (Postfix) with ESMTP id 2157E1FB83; Fri, 12 Mar 2004 14:40:42 +0100 (CET) Received: from matrix.iceman ([127.0.0.1]) by localhost (matrix.iceman [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18796-04; Fri, 12 Mar 2004 14:40:40 +0100 (CET) Received: from matrix (localhost.iceman [127.0.0.1]) by matrix.iceman (Postfix) with SMTP id E60381FB81; Fri, 12 Mar 2004 14:40:39 +0100 (CET) Received: from 192.168.9.1 (SquirrelMail authenticated user fm) by Matrix.Iceman with HTTP; Fri, 12 Mar 2004 14:40:39 +0100 (CET) Message-ID: <49202.192.168.9.1.1079098839.squirrel@Matrix.Iceman> In-Reply-To: <20040312132816.X34629@mirrorball.theloosingend.net> References: <49303.141.67.67.161.1079082429.squirrel@Matrix.Iceman> <49452.141.67.67.161.1079086468.squirrel@Matrix.Iceman> <20040312132816.X34629@mirrorball.theloosingend.net> Date: Fri, 12 Mar 2004 14:40:39 +0100 (CET) From: "Frank Mueller" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by Matrix Mailfilter X-Seen: false X-ID: VaeNI2ZFweG1jAQ9yu3dv9aCkCvYZzwEqQPcK5yx+78f+Tgg2SPDEY@t-dialin.net cc: Frank Mueller cc: freebsd-questions@freebsd.org Subject: RE: Cron job questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Franky-Mueller@web.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 14:38:11 -0000 Oops, of course you're right! Should have given it a closer look, I guess. Sorry for that! Frank > > [Dave Carrera] >> So if I >> >> #ee /etc/crontab (I prefer ee to vi ) >> >> Add this >> >> * 2 * * * root /bin/csh /root/script.csh >> >> Save exit >> >> That should run my script at 2am every morning yes ? > > > [Frank Mueller] >> >> Yes, correct. > > > I thought that putting an * in your crontab meant that your cronjob would > run for every possible value of that field, ie. that script.csh would run > every day at 2.00am, 2.01am, 2.02am, ..., 2.59am > > The line should read: > > 0 2 * * * root /bin/csh /root/script.csh > > if you want your script run every day at 2.00 am. > > > > > sve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >