From owner-freebsd-stable@FreeBSD.ORG Tue Apr 11 06:10:53 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E445716A400 for ; Tue, 11 Apr 2006 06:10:53 +0000 (UTC) (envelope-from adrian.jfl@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5105243D4C for ; Tue, 11 Apr 2006 06:10:53 +0000 (GMT) (envelope-from adrian.jfl@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so812001nfc for ; Mon, 10 Apr 2006 23:10:52 -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; b=Eptj+1r22398ZroNm+OpCqspzhCviy8g0UNDjjyO/mi8h8AbNzZBd3lwRTuiAKo53JMIxL1F3YdlJ2AdEe40UKg/4lHFSbWCWVjdgDi4LQFqO7+88XfHuyASfCmRKL75YTdBXtOkh8kCpHug5RbK6W4a8CQ8tTT00JFEcZkj0XM= Received: by 10.49.93.4 with SMTP id v4mr229120nfl; Mon, 10 Apr 2006 23:10:52 -0700 (PDT) Received: by 10.48.242.6 with HTTP; Mon, 10 Apr 2006 23:10:52 -0700 (PDT) Message-ID: Date: Tue, 11 Apr 2006 16:10:52 +1000 From: Adrian To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Command doesn't run from Crontab ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 06:10:54 -0000 Hi, I have setup this command to run nightly via a crontab. It works fine from the root shell (tcsh) but doesn't seem to run from the crontab: /bin/cp /etc/master.passwd /etc/master.passwd_backup_`/bin/date +%Y%m%d` It's got something to do with the backticks but I can't find a way around it.. Can anyone help? Thanks.