[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cronjob problem



* Angela Gavazzi (2007-09-27):
> Hallo, 
> 
> could someone please explain me why the following cronjob generates an empy 
> file when copy-pasting the command to console generates a "full" file?
> It's in roots crontab created with crontab -e
> 
> 00 21 * * *     /usr/local/ldap/sbin/slapcat 
> > /var/backups/ldap/dumps/slapdump.`date +\%g\%m\%d_\%k:\%M`
> 
> Debian version is etch.

/path/to/date

-André

-- 
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>



Reply to: