From owner-freebsd-questions@FreeBSD.ORG Thu Jun 8 06:00:48 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 3FFB616F918 for ; Thu, 8 Jun 2006 03:22:04 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B665643D5F for ; Thu, 8 Jun 2006 03:21:58 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id k583Lui9037153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Jun 2006 10:21:56 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.3/8.12.11) id k583Lto6083694; Thu, 8 Jun 2006 10:21:55 +0700 (ICT) Date: Thu, 8 Jun 2006 10:21:55 +0700 (ICT) Message-Id: <200606080321.k583Lto6083694@banyan.cs.ait.ac.th> From: Olivier Nicole To: atom.powers@gmail.com In-reply-to: (atom.powers@gmail.com) References: X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: how does cron exec jobs? 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: Thu, 08 Jun 2006 06:00:48 -0000 > How can I simulate a cron job from the shell? There must be something > different about the way cron is executing this command... Counld be different environment variables set, different working directory... Any diagnostic when it hangs? Olivier