From owner-freebsd-questions@FreeBSD.ORG Fri Jun 3 16:31:52 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DD8A716A41C for ; Fri, 3 Jun 2005 16:31:52 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from zhonka1.zhonka.net (zhonka1.zhonka.net [66.228.195.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC2843D1F for ; Fri, 3 Jun 2005 16:31:52 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from wolf.pjkh.com ([66.228.196.74]) by zhonka1.zhonka.net (Post.Office MTA v3.5.3 release 223 ID# 0-58414U4500L450S0V35) with ESMTP id net; Fri, 3 Jun 2005 09:31:51 -0700 Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 6458658C7; Fri, 3 Jun 2005 09:31:47 -0700 (PDT) Received: from wolf.pjkh.com ([127.0.0.1]) by localhost (wolf.pjkh.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19522-01; Fri, 3 Jun 2005 09:31:47 -0700 (PDT) Received: by wolf.pjkh.com (Postfix, from userid 1000) id 27E0658C6; Fri, 3 Jun 2005 09:31:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 24E045823; Fri, 3 Jun 2005 09:31:47 -0700 (PDT) Date: Fri, 3 Jun 2005 09:31:47 -0700 (PDT) From: Philip Hallstrom To: ESMTP Admin In-Reply-To: <1117740277.8471.32.camel@columbus> Message-ID: <20050603093111.P19601@wolf.pjkh.com> References: <1117740277.8471.32.camel@columbus> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at pjkh.com Cc: FreeBSD Subject: Re: Running cronjobs 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: Fri, 03 Jun 2005 16:31:53 -0000 Check the value of $PATH when run manually and when run via cron. That's what always bites me... the PATH set by cron is usually pretty minimal... -philip On Thu, 2 Jun 2005, ESMTP Admin wrote: > Always worked well when I dump a script into the /etc/periodic/daily > folder and set permissions to have a script run automatically each > night. But this is not working for the Spamassassin rulesdujour script. > I can run the script manually, no problem, any ideas? Here is the bottom > of that directory, my own scripts prefixed with 'webtent' and the backup > and cvsports scripts run perfectly. > > -rwxr-xr-x 1 root wheel 723 Jan 10 2004 500.queuerun > -rwxr-xr-x 1 root wheel 7432 Dec 14 09:08 800.webtent-backup > -rwxr-xr-x 1 root wheel 71 Mar 22 12:43 810.webtent-cvsports > -rwxr-xr-x 1 root wheel 50364 Mar 23 23:41 820.webtent-rulesdujour > -rwxr-xr-x 1 root wheel 712 Jan 10 2004 999.local > > My daily run log shows the cvsports activity and stops right there: > > ... > Edit ports/x11-wm/xfce4-session/Makefile > Edit ports/x11-wm/xfce4-session/pkg-plist > Finished successfully > > 666196 bytes transferred in 2.5 seconds (263.32 kBps) > > -- End of daily output -- > > -- > Robert > > _______________________________________________ > 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" >