From owner-freebsd-questions@FreeBSD.ORG Tue Jan 30 19:38:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 270BC16A405 for ; Tue, 30 Jan 2007 19:38:47 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id E307813C47E for ; Tue, 30 Jan 2007 19:38:46 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by an-out-0708.google.com with SMTP id c24so767158ana for ; Tue, 30 Jan 2007 11:38:46 -0800 (PST) Received: by 10.100.42.7 with SMTP id p7mr516344anp.1170185925997; Tue, 30 Jan 2007 11:38:45 -0800 (PST) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id 9sm15193734wrl.2007.01.30.11.38.45; Tue, 30 Jan 2007 11:38:45 -0800 (PST) Date: Tue, 30 Jan 2007 14:38:57 -0500 From: Gerard Seibert To: User Questions Organization: Seibercom.NET In-Reply-To: <44b41e4e0701301113l15a03398o7e3aa2b9440edef0@mail.gmail.com> References: <44b41e4e0701301113l15a03398o7e3aa2b9440edef0@mail.gmail.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070130143628.137A.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.30.01 [en] Subject: Re: cron problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 19:38:47 -0000 On Tuesday January 30, 2007 at 02:13:45 (PM) Charlie McElfresh wrote: > I wrote a perl script to get a news show I like. When I run it, it deletes > yesterday's copy of the show, and downloads the new copy. The script works > fine. I run the script as myself (charlie), charlie owns it, and it's > chmod'd 0755. Works fine. > > I can't get cron to run it, though. Here's the cron process running on my > machine: > > charlie@dash$ ps auxwww | grep cron > root 413 0.0 0.1 1364 892 ?? Ss 5Jan07 0:06.57/usr/sbin/cron -s > > And here's charlie's crontab, to run at 7:17 mon - fri > > 17 7 * * 1-5 /media/democracy_now/get_new_show.pl Do you have a MAILTO= in your cron. If not, I would suggest you put one there that points to you, i.e., if charlie is your logon name, have it point to charlie. Now, when your script either works or fails, you will receive a report of what transpired. -- Gerard Mail from '@gmail' is rejected and/or discarded here. Don't waste your time!