Date: Mon, 15 Jun 1998 12:10:12 -0400 (EDT) From: Patrick Gardella <patrick@cre8tivegroup.com> To: Patrick Gardella <patrick@cre8tivegroup.com> Cc: questions@FreeBSD.ORG Subject: RE: Crontab Loop Message-ID: <XFMail.980615121012.patrick@cre8tivegroup.com> In-Reply-To: <XFMail.980615115504.patrick@cre8tivegroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Oh never mind. A co-worker just pointed out the problem. I put a * instead of 0 for the minute field. So it did what it was supposed to do. Run every minute of the specified hour. Patrick On 15-Jun-98 Patrick Gardella wrote: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980615121012.patrick>