I solve my cron jobs problem like that.

Under otrs user I create a cron (crontab -e) and put this command
*/10 * * * * /usr/share/otrs/bin/PostMasterPOP3.pl >> /dev/null

And after i must modify /usr/share/otrs/Kernel/System/DB.pm and put login and password to connect to mysql database.
line 55
  $DBObject = Kernel::System::DB->new(
      ConfigObject => $ConfigObject,
      LogObject    => $LogObject,
      # if you don't use the follow params, then this are used
      # from Kernel/Config.pm!
      DatabaseDSN  => 'DBI:odbc:database=123;host=localhost;',
      DatabaseUser => 'otrsmysqluser',
      DatabasePw   => 'otrsmysqlpassword',
      Type         => 'mysql',
      Attribute    => {
          LongTruncOk => 1,
          LongReadLen => 100*1024,
      },

It's strange, because all mysql connection works fine, just cron don't working.
And in Config.pm, all mysql settings are ok.

I run otrs 1.3.2

Bye
Guillaume REHM
Service Informatique

Bibliothèque Nationale et Universitaire de Strasbourg
5 rue du Maréchal Joffre
BP 51029
67070 Strasbourg

tél: 03 88 25 28 43
fax: 03 88 25 28 03
mail: guillaume.rehm@bnu.fr
web: http://www.bnu.fr


Help Desk a écrit :
Try:
 
$ crontab -e -u otrs
 
or
 
$ su - otrs
$ crontab -e
 
 
--
Downtown Help Desk
System Administrator
----- Original Message -----
From: Mamakwa M. Sefiri
To: User questions and discussions about OTRS.org
Sent: Wednesday, April 26, 2006 10:13 AM
Subject: RE: [otrs] Cron Jobs

When I run crontab –l –u otrs

I get an error that says no crontabs for otrs

 


From: Mamakwa M. Sefiri
Sent: 26 April 2006 04:08 PM
To: User questions and discussions about OTRS.org
Subject: [otrs] Cron Jobs

 

I also have problem about cron jobs. When I get to :

linux:/opt/otrs/bin# su otrs

linux:~/bin$ ./Cron.sh start

 

as instructed from the manual I get an error that I must run the srip as an otrs user

 

please advise

 

Thanks

Mamakwa

 


_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/