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

Re: cronjob problem



Angela Gavazzi a écrit :
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.

tia,

angela


Maybe Crontab execution environnement is different from your commandline environnement.
Check all varialbles like PATH,...



Reply to: