From owner-freebsd-questions@FreeBSD.ORG Wed Oct 4 00:05:26 2006 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 5BF0016A416 for ; Wed, 4 Oct 2006 00:05:26 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE29143D60 for ; Wed, 4 Oct 2006 00:05:24 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail1.panix.com (Postfix) with ESMTP id 0E1E8588A0 for ; Tue, 3 Oct 2006 20:05:24 -0400 (EDT) Received: from teddy.fas.com (c-68-58-232-106.hsd1.sc.comcast.net [68.58.232.106]) by mailspool2.panix.com (Postfix) with ESMTP id E687D908C02 for ; Tue, 3 Oct 2006 20:05:23 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1GUuGJ-0001NB-00 for ; Tue, 03 Oct 2006 20:05:23 -0400 Date: Tue, 3 Oct 2006 20:05:23 -0400 From: stan To: Free BSD Questions list Message-ID: <20061004000523.GA5229@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 20:02:43 up 169 days, 21:05, 1 user, load average: 0.03, 0.03, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Strange cron behavior 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, 04 Oct 2006 00:05:26 -0000 I'm having a hard time getting cron to run a task. I've run crontab -e (as root), and added the following line: 12 * * * * /usr/local/bin/mirror_ubuntu This script runs from teh command line. Now I've seen plenty of strange beahviour because of the limited environment cron tasks get, but a basic "echo "test" >> /tmp/stan isn't even creating the file. Sugestions? -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)