From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 08:55:02 2003 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 4895E16A4BF for ; Sat, 13 Sep 2003 08:55:02 -0700 (PDT) Received: from mamacass.springsips.com (mamacass.springsips.com [63.80.49.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42D0243F85 for ; Sat, 13 Sep 2003 08:55:01 -0700 (PDT) (envelope-from ccraft@netgenius.org) Received: from localhost.springsips.com (localhost.springsips.com [127.0.0.1]) by mamacass.springsips.com (Postfix) with ESMTP id B54DC1CC499; Sat, 13 Sep 2003 09:55:01 -0600 (MDT) Received: from mamacass.springsips.com (localhost.springsips.com [127.0.0.1]) by localhost.springsips.com (VaMailArmor-2.0.1.10) id 37059-46A1B20C; Sat, 13 Sep 2003 09:55:01 -0600 Received: from there (unknown [208.23.174.252]) by mamacass.springsips.com (Postfix) with SMTP id 4DF7F1CC448; Sat, 13 Sep 2003 09:55:01 -0600 (MDT) Content-Type: text/plain; charset="iso-8859-1" From: Chris Craft To: "Jerry Bell" , "Denis" , Date: Sat, 13 Sep 2003 09:54:52 -0600 X-Mailer: KMail [version 1.3.1] References: <1544264640.20030913150912@mail.ru> <01ca01c379ea$d2e13ab0$1a0a0a0a@iss.net> <022c01c379ee$e6874d30$1a0a0a0a@iss.net> In-Reply-To: <022c01c379ee$e6874d30$1a0a0a0a@iss.net> MIME-Version: 1.0 Message-Id: <20030913155501.4DF7F1CC448@mamacass.springsips.com> Content-Transfer-Encoding: quoted-printable X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.10; VAE: 6.21.0.1; VDF: 6.21.0.41; host: mamacass.springsips.com) Subject: Re: HOW TO USE C-R-O-N????? 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: Sat, 13 Sep 2003 15:55:02 -0000 Here's how I run scripts every 30 seconds from crontab: * * * * * /path/to/somescript * * * * * sleep 30; /path/to/somescript Cheers, Chris. On Saturday 13 September 2003 06:02, Jerry Bell wrote: > As has been pointed out, this will make it run every 2 minutes, not eve= ry > 30 seconds. I don't know of a way to go less than 1 minute. > > Jerry > ----- Original Message ----- > From: "Jerry Bell" > To: "Denis" ; > Sent: Saturday, September 13, 2003 7:33 AM > Subject: Re: HOW TO USE C-R-O-N????? > > > crontab -e > then put in > */2 * * * * /usr/bin/perl /usr/scripts/my.pl > > save and it should be good to go. > > Jerry > http://www.syslog.org > ----- Original Message ----- > From: "Denis" > To: > Sent: Saturday, September 13, 2003 7:09 AM > Subject: HOW TO USE C-R-O-N????? > > Hi All!!! > > Does anybody can show me how i can use Cron??? > For example, I want to start: > /usr/bin/perl /usr/scripts/my.pl > every 30 seconds. Can i to do it?