You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-12-10 21:57:42

rsprik
Member
Registered: 2008-12-10
Posts: 7

Mail Gateway not "automatic"

- Upgraded from 0.68 to latest GLPI 0.71.3
- Running on Ubuntu, just upgraded to 8.04 LTS
- Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8

Problem: Mail gateway works for ticket creation when manually click on "Get email tickets now"... but they are not being imported automatically (every 6 minutes supposedly, correct?)

Roger Sprik

*** UPDATE ****
If I perform some unlrelated activity in GLPI (I just added a Knowledgebase Article)... then it seems to check the mail... but if completely "offline" it seems to not be checking automatically.

Last edited by rsprik (2008-12-10 23:05:36)

Offline

#2 2008-12-11 00:29:56

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Mail Gateway not "automatic"

It's normal...

Please read this http://glpi-project.org/wiki/doku.php?i … ig:crontab 

It's in french but you could use google translation to have it english.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#3 2008-12-11 00:52:13

rsprik
Member
Registered: 2008-12-10
Posts: 7

Re: Mail Gateway not "automatic"

Merci

Between my Spanish and Google translation I can understand the post about setting up cron.

Thank you for your reply and thank you for such a wonderful program. We use GLPI with OCS to manage our school inventory of Macs and PCs and our helpdesk. We find it to be a great tool.

Roger Sprik
Technology Director
Valley Christian Schools
Cerritos, California

Offline

#4 2008-12-11 00:57:51

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Mail Gateway not "automatic"

Thank you for your interest on GLPI wink


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#5 2008-12-11 21:13:12

rsprik
Member
Registered: 2008-12-10
Posts: 7

Re: Mail Gateway not "automatic"

For those interested... for our Ubuntu installation, the crontab solution that works on our server (Ubuntu 8.04 LTS)... and everything is on a single server...

You must edit the crontab under the www-data user (use sudo su - www-data to switch)... then crontab -e

*/5 * * * * /usr/bin/php5 /var/www/glpi/front/cron.php &>/dev/null

Your mileage may vary

Even though the crontab is set to run every 5 minutes... I see up to 15 minutes sometimes... but we can live with that... I'm seeing the emails come through even when no activity in GLPI.

Roger Sprik

Offline

#6 2008-12-11 21:24:02

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Mail Gateway not "automatic"

For the delay it's normal,  If you want to have more precise cron action, you need to stimulate the pseudo cron stronger.

Run your crontab every minutes for example.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

Board footer

Powered by FluxBB