Command doesn't run from Crontab ?

Dmitriy Kirhlarov dimma at higis.ru
Tue Apr 11 06:30:26 UTC 2006


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


More information about the freebsd-stable mailing list