From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 20:44:06 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 2D0E9106566B for ; Wed, 13 Jan 2010 20:44:06 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id BB6288FC0A for ; Wed, 13 Jan 2010 20:44:05 +0000 (UTC) Received: by ewy3 with SMTP id 3so59352ewy.13 for ; Wed, 13 Jan 2010 12:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=AUGnq1Y9K0x9GUBKAXbrUBII2wKY9LUFxM0VdM1dhp0=; b=Xj7wdcXTzJc0OlDqbZ5125jTMd/ZOq9IPb3tYFxD+L5RpxZmAI1QJYrso2BaDjCUKP WviqpBhxzyasUUrBJ2ru65LRiqJ6I+bys1ZQdI5nwIkP42j7aaLAVzky5KFRGfirp3oV leg+Ixt7OsD5PnYi22QkS08oN/p5hX/3eM3f4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gioYSFWsgo1zzsbgury0uYHPf2k3weE8j+y2L9tTVfTHl+sawmL6qUJmNMcoWnll1i HGPZmyRS1JWawG0iOLIoZL/O9Pj2RC+YpkPro3H1e5G/P1/b8vuMFDFkxnomr6L51A0S l/wcsKIPxj9pZ/C+LCcDhDSzHsAln317IysJI= MIME-Version: 1.0 Received: by 10.216.86.66 with SMTP id v44mr2489128wee.163.1263415438737; Wed, 13 Jan 2010 12:43:58 -0800 (PST) Date: Wed, 13 Jan 2010 20:43:58 +0000 Message-ID: From: Jeronimo Calvo To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Crontab not working logwatch.pl [FreeBSD 8 stable] 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: Wed, 13 Jan 2010 20:44:06 -0000 Hi folks, Im having probs when a root crontab located on /var/cron/tabs/root with this content # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.DUtgfVoBT0 installed on Wed Jan 13 20:08:29 2010) # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 1.31.2.1 2009/08/03 08:13:06 kensmith Exp $) * * * * * ~/.profile ; /bin/bash /var/log/auto_auth.sh * * * * * ~/.profile ; /usr/bin/perl /local/sbin/logwatch.pl both of them are sending logs to my email, when runned from the command line works, but not from crontab any ideas? -- () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions