From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 08:03:35 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 4131816A4C0 for ; Sat, 13 Sep 2003 08:03:35 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ED6E43FE9 for ; Sat, 13 Sep 2003 08:03:32 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.strauser.com (pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h8DF3T1T034734 for ; Sat, 13 Sep 2003 10:03:31 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-questions@freebsd.org References: <1544264640.20030913150912@mail.ru> From: Kirk Strauser Date: Sat, 13 Sep 2003 10:03:26 -0500 In-Reply-To: <1544264640.20030913150912@mail.ru> (intraden@mail.ru's message of "Sat, 13 Sep 2003 15:09:12 +0400") Message-ID: <87oexon329.fsf@strauser.com> Lines: 26 X-Mailer: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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:03:35 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2003-09-13T11:09:12Z, Denis writes: > 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? You really don't want to do it that way. You probably want to wrap your script with something like: use Time::HiRes qw( sleep ); while (1) { ... rest of your program ... sleep .5; } =2D-=20 Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/YzHB5sRg+Y0CpvERAjDfAJ9pxG5EwIyEkm3P8/NchEzg784lqQCfdMev XPogPEj6OtzK98oq7NuCbWI= =POSQ -----END PGP SIGNATURE----- --=-=-=--