Re: [otrs-de] Verzweiflung && GenericAgent && Bash

2005-02-21 Diskussionsfäden Juergen Meurer
Am Montag, 21. Februar 2005 08:58 schrieb [EMAIL PROTECTED]:
> 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 week0-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

___
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/


[otrs-de] Verzweiflung && GenericAgent && Bash

2005-02-21 Diskussionsfäden ml

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
___
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/