Hallo,

Thomas Pfaffinger <[EMAIL PROTECTED]>:

>Subject: Cron <[EMAIL PROTECTED]> /backup/bin/backup.sh KW$(date +
>/bin/sh: -c: line 1: unexpected EOF while looking for matching `)'
>/bin/sh: -c: line 2: syntax error: unexpected end of file

>#Tagesbackup
> 00     22      2-31    *       1-4     root    /backup/bin/backup.sh 
>$(date +%A) /

>Sieht jemand den fehler? Ich bin ratlos :-(

Das %-Zeichen hat in der Crontab eine spezielle Bedeutung und
muss daher escaped werden:

/backup/bin/backup.sh $(date +\%A)

Gruß, Harald


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Antwort per Email an