Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 16:10:52 +1000
From:      Adrian <adrian.jfl@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Command doesn't run from Crontab ?
Message-ID:  <c0a4ca3a0604102310ie4230b2n7ac65627efa50128@mail.gmail.com>

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



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