From owner-freebsd-questions Mon Jun 15 08:58:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA04530 for freebsd-questions-outgoing; Mon, 15 Jun 1998 08:58:32 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from iglou.com (sendmail@iglou2.iglou.com [192.107.41.17]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA04479 for ; Mon, 15 Jun 1998 08:58:20 -0700 (PDT) (envelope-from patrick@cre8tivegroup.com) Received: from gateway.cre8tivegroup.com [204.255.227.127] by iglou.com with esmtp (8.7.3/8.6.12) id 0ylbeD-0001IO-00; Mon, 15 Jun 1998 11:58:18 -0400 Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 15 Jun 1998 11:55:04 -0400 (EDT) Organization: The Creative Group From: Patrick Gardella To: questions@FreeBSD.ORG Subject: Crontab Loop Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got a strange problem with a user's crontab (mine). I wrote a perl script to go to a web site and copy the page to an email to be sent to me (so I would have a daily status message while I was on vacation). The script worked well when tested from the command line. When I inserted it into my crontab using tkcron (as well as crontab -e), and ran it with a 2 digit hour field (say 10 AM daily), it ran once, like it was supposed to. But then I changed it to 6 AM, (single digit) and it hiccuped. It ran every minute starting at 6 AM for 60 minutes. So when I came back from my vacation, I had like 900 messages when I should have only had 15. Does anyone know why this kept running like this? I have since tried it from here on two machines, with the same results. I have also tried /etc/crontab, with the same results. It's strange. I'm back, so this isn't a problem anymore, but I'd like to know what I am doing wrong. My other cron scripts work like they are supposed to. Thanks, Patrick Gardella To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message