Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 10:30:23 +0400
From:      Dmitriy Kirhlarov <dimma@higis.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: Command doesn't run from Crontab ?
Message-ID:  <20060411063023.GD780@dimma.mow.oilspace.com>
In-Reply-To: <c0a4ca3a0604102310ie4230b2n7ac65627efa50128@mail.gmail.com>
References:  <c0a4ca3a0604102310ie4230b2n7ac65627efa50128@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060411063023.GD780>