From owner-freebsd-questions@FreeBSD.ORG Tue Nov 2 11:17:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80EF9106566B for ; Tue, 2 Nov 2010 11:17:58 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 058028FC0A for ; Tue, 2 Nov 2010 11:17:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id ECA775E1DE; Tue, 2 Nov 2010 11:54:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.343 X-Spam-Level: X-Spam-Status: No, score=-2.343 tagged_above=-999 required=5 tests=[AWL=0.257, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7PnwhsmBepvQ; Tue, 2 Nov 2010 11:54:42 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from [172.17.0.138] (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id D0E9C5E1A6; Tue, 2 Nov 2010 11:54:42 +0100 (CET) Message-ID: <4CCFEE96.10700@eskk.nu> Date: Tue, 02 Nov 2010 11:57:26 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; sv-SE; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Lystic Emsen References: <4CCFD51E.4050701@eskk.nu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fetching distfiles via cron does not download... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 11:17:58 -0000 Lystic Emsen skrev 2010-11-02 11:53: > On Tue, Nov 2, 2010 at 4:08 AM, Leslie Jensen wrote: > >> Hello list. >> >> I have the following in /etc/crontab >> >> @reboot root portsnap -I cron update&& /root/bin/cv_portsnap_cron&& >> pkg_version -vIL= >> >> >> I don't see where you are doing a portsnap fetch first. If you haven't > done a fetch, then the update will probably fail. If the update fails, > because you are using&& it won't execute the next part of your script. According to the handbook this command is supposed to do that. portsnap -I cron update /Leslie > > > >> >> The script /root/bin/cv_portsnap_cron >> >> #!/bin/sh >> portmaster --clean-distfiles-all >> portmaster -aF >> >> >> >> >> Message received from cron: >> >> >> ===>>> Gathering distinfo list for installed ports >> >> ===>>> Checking for stale distfiles >> ]0;portmaster: All ===>>> Starting check of installed ports for available >> updates >> >> ===>>> Distfile fetching is complete >> libxul-1.9.2.9_1< needs updating (index has 1.9.2.12) >> pciids-20101005< needs updating (index has 20101020) >> >> >> Even so I do not get the distfiles downloaded. >> >> Where am I going wrong? >> >> Thanks >> >> >> /Leslie >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > >