From owner-freebsd-stable@FreeBSD.ORG Tue Apr 11 06:46:40 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 5216516A40E for ; Tue, 11 Apr 2006 06:46:40 +0000 (UTC) (envelope-from adrian.jfl@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EA1643D48 for ; Tue, 11 Apr 2006 06:46:39 +0000 (GMT) (envelope-from adrian.jfl@gmail.com) Received: by nproxy.gmail.com with SMTP id m18so815642nfc for ; Mon, 10 Apr 2006 23:46:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=F/5EV+AY8AGFSi0mumZiCAAB+8pngre3fkPviXKPYhrpWAZ14kAXMxd+8SLcb+3UxRckfasNDGkGcfs4yM/w6+A70akBpqUwAgsu6sX5P7EltNlwefnaAyd3xxcN+LkCrrHN7StAJMcbrx1qRJsquEQs/huxmRt9nund4YD8lNE= Received: by 10.48.246.8 with SMTP id t8mr2670762nfh; Mon, 10 Apr 2006 23:46:38 -0700 (PDT) Received: by 10.48.242.6 with HTTP; Mon, 10 Apr 2006 23:46:38 -0700 (PDT) Message-ID: Date: Tue, 11 Apr 2006 16:46:38 +1000 From: Adrian To: freebsd-stable@freebsd.org In-Reply-To: <20060411063023.GD780@dimma.mow.oilspace.com> MIME-Version: 1.0 References: <20060411063023.GD780@dimma.mow.oilspace.com> 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: Re: 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:46:40 -0000 Thanks Dmitriy! On 4/11/06, Dmitriy Kirhlarov wrote: > > On Tue, Apr 11, 2006 at 04:10:52PM +1000, Adrian wrote: > > 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= ` > escape % > /bin/cp /etc/master.passwd /etc/master.passwd_backup_`/bin/date > +\%Y\%m\%d` > > By. > Dmitriy > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >