You are not logged in.
Pages: 1
Hello,
while setting up GLPI i am facing an issue. The mailgate job is not running automatically. I tried both modes, GLPI and CLI. When setting CLI i created a crontab entry:
*/1 * * * * www-data cd /var/www/html/glpi/front/ && php cron.php > /dev/null
But is not working however i set it up. Grabbing the mails manually works perfectly fine. Connection to the mailbox works and i imported already some Testmails, but whatever i do, no job is running...
Hope someone can help
best regards CLU
Offline
Please try putting quotes around the cron command since it has spaces in it:
"cd /var/www/html/glpi/front/ && php cron.php"
Also, you shouldn't need to change directory before running the cron.php script.
"php /var/www/html/glpi/front/cron.php"
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Hello cconard96,
i changed it, but unfortunately this also didn't help. I really dont understand why it is not working neither GLPI nor CLI......
Offline
Okay i fixed it now! The solution is to execute without "" and to put usr/bin/php in the front. Also i changed the execution of the tab to user www-data and forced the mailgate in my statement. Here you find my expression:
*/1 * * * * /usr/bin/php /var/www/html/glpi/front/cron.php --force mailgate
Offline
I believe there has to be a general issue / error because other Jobs are also not running. Weird thing is, some are running, some are not!
The job infocom for example should run once a day. Its showing the next scheduled job should run at 13.47 but it didn't happen...
Offline
i had same issue as for now.
when im runninf manually on mail receiver the notification message availabel = xxx imported = xx received = 0.
Before i tried to update my Ubuntu 18.04 all update and its work, but yesterday mail receiver not create the ticket on GLPI.
can anybody also help my issue?
OS = Ubuntu 18.04
GLPI Version 9.7
Server running sinch februari 2022 but now stuck with this issue
Thanks
Ismail
Offline
Pages: 1