From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 09:21:00 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 EEB0C16A4CF for ; Thu, 5 Feb 2004 09:21:00 -0800 (PST) Received: from mail.imacs.com (mail.imacs.com [65.106.207.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB35C43D55 for ; Thu, 5 Feb 2004 09:20:47 -0800 (PST) (envelope-from DSchimcek@imacs.com) Received: from imacs-exchange.hms-domain.local (imacs-exchange.imacs.com [172.16.5.3]) by mail.imacs.com (8.12.10/8.12.10) with ESMTP id i15HKqXU010269 for ; Thu, 5 Feb 2004 11:20:52 -0600 (CST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 5 Feb 2004 11:20:47 -0600 Message-ID: <6E6A0B9771347B49937E7E3F30153465021E68@imacs-exchange.hms-domain.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cron timing out Thread-Index: AcPsDMEPjcTudGaQTReBTEdd+CYpKg== From: "Schimcek, Derrick" To: "Freebsd Questions (E-mail)" X-Scanned-By: MIMEDefang 2.34 Subject: cron timing out 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: Thu, 05 Feb 2004 17:21:01 -0000 I am running the f-prot anti-virus update script and it was timing out = half way through the script *************************************** * F-Prot Antivirus Updater * *************************************** Nothing to be done... *************************************** * F-Prot Antivirus Updater * *************************************** There's a new version of: "Application/Script viruses and Trojans" signatures on the web. Starting to download... Download completed. Preparing to install Application/Script viruses and Trojans signatures. Wed Nov 19 10:00:00 CST 2003 *************************************** * F-Prot Antivirus Updater * *************************************** it was stopping after a certain amount of time it seemed but if you ran = it through the command line it would run properly so I though something = was wrong and wrote my own pearl script to do the same thing with = checksum and ftp as opposed to http which the f-prot one was written in. = and it exhibits the same behavior it works correctly on the command line Thu Feb 5 10:17:19 CST 2004 Archive: sign.zip inflating: SIGN.DEF Archive: sign2.zip inflating: SIGN2.DEF Archive: macrdef2.zip inflating: MACRO.DEF inflating: MACRO.ASC SIGN.DEF is a duplicates! SIGN2.DEF is a duplicates! MACRO.DEF is a duplicates! but when I run it through cron it exhibits the same behavior as the = first scripts I am calling the system and running the date command before it downloads = the files so it looks like it is timing out during the file download Thu Feb 5 00:00:00 CST 2004 Thu Feb 5 01:00:00 CST 2004 Thu Feb 5 02:00:00 CST 2004 Thu Feb 5 03:00:00 CST 2004 Thu Feb 5 04:00:00 CST 2004 Thu Feb 5 05:00:00 CST 2004 Thu Feb 5 06:00:01 CST 2004 Thu Feb 5 07:00:01 CST 2004 Thu Feb 5 08:00:00 CST 2004 Thu Feb 5 09:00:00 CST 2004 Thu Feb 5 10:00:00 CST 2004 I don't think it is the perl script but if anyone needs to see it I will = post the script. any help would be appreciated