Verzweiflung && GenericAgent && Bash

Hallo liebe Liste, Ihr seit meine letzte Hoffnung...... Ich habe folgende Cronjob in der Crontab von OTRS stehen: 00,10,20,30,40,50 * * * $HOME/bin/GenericAgent.pl -c "Kernel::Config::GenericAgentUrgent" >> /dev/null In der Regel läuft er auch - bis auf Samstags und Sonntags.... Da bekomme ich folgenden Fehler: /bin/sh: - : invalid option Usage: /bin/sh [GNU long option] [option] ... /bin/sh [GNU long option] [option] script-file ... GNU long options: --debug --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --rcfile --rpm-requires --restricted --verbose --version --wordexp Shell options: -irsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option Weiss irgend jemand Rat ? Danke und Gruss Sascha

Am Montag, 21. Februar 2005 08:58 schrieb ml@charliesangels.biz:
Hallo liebe Liste,
Ihr seit meine letzte Hoffnung......
Ich habe folgende Cronjob in der Crontab von OTRS stehen:
00,10,20,30,40,50 * * * $HOME/bin/GenericAgent.pl -c "Kernel::Config::GenericAgentUrgent" >> /dev/null
In der Regel läuft er auch - bis auf Samstags und Sonntags.... Wen du die Tage nicht angibst kanns auch nicht gehen.
field allowed values ----- -------------- minute 0-59 hour 0-23 day of month 1-31 month 1-12 (or names, see below) day of week 0-7 (0 or 7 is Sun, or use names) Machs dir einfacher mit: */10 * * * * $HOME/bin/GenericAgent.pl -c ..... -- Mit freundlichen Grüßen Jürgen Meurer
participants (2)
-
Juergen Meurer
-
ml@charliesangels.biz