From owner-freebsd-questions@FreeBSD.ORG Thu Jun 8 01:03:41 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 1952A16A904 for ; Wed, 7 Jun 2006 22:48:37 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD03F43D49 for ; Wed, 7 Jun 2006 22:48:36 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so279360nzn for ; Wed, 07 Jun 2006 15:48:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uZbwlfV/ObVjGFQUCgSbpiBiFr4Fy7/tdRyBSXUPsx56UFYN0d1k+uys9UKh7z3rFfrpUqzatHy0HQjQVFAuemJliUytM5BoiTVoQPuExsunTH+bocm8dLygLucw/7/QbAxcsJ7p63O7tVrNFuEAPMbCG/UEyWVb1ERfHsOmgl4= Received: by 10.64.210.4 with SMTP id i4mr1191764qbg; Wed, 07 Jun 2006 15:48:35 -0700 (PDT) Received: by 10.65.151.6 with HTTP; Wed, 7 Jun 2006 15:48:35 -0700 (PDT) Message-ID: Date: Wed, 7 Jun 2006 15:48:35 -0700 From: "Atom Powers" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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 01:03:42 -0000 I have a cronjob ( cfexecd -F ) that often hangs; but no matter how I run it from the shell ( sh -c "cfexecd -F" & ) it never hangs. (Running it from the shell is how I clear the hung state.) How can I simulate a cron job from the shell? There must be something different about the way cron is executing this command... -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers--