On Sat, Sep 22, 2001 at 01:12:47PM +0200, Jens Puruckherr wrote:
Hallo, ich habe einen Cronjob mit folgender Syntax: (Zeilenumbüche durch mailer bedingt)
0 1 * * * /usr/bin/uvscan --summary /home > /var/log/antivir/homedir_`date +%d.%m.%Y`.log
im syslog steht zur startzeit folgendes:
(/usr/bin/uvscan --summary /home > /var/log/antivir/homedir_`date+)
Also am Ende hat er den Logfilenamen abgeschnippelt.
*ARGL* RTFM !!!
The ``sixth'' field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile. Percent-signs (%) in the command, unless escaped with backslash (), will be changed into newline characters, and all data after the first % will be sent to the command as standard input.
nicht die Ersetzunmg vornehmen? Was ist meine Denkfehler.
Nicht denken, lesen :-)
Reinhard