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 2018-05-29 12:58:23

zawaye
Member
Registered: 2018-05-29
Posts: 5

Notification Issue (Solved)

I have the problem with notification setting in GLPI 9.2.3. When I crate or followup the the ticket, the notifications don't send respective email automatically. But I can send it manually by selecting all notification>> click action>> select sent>> then summit. Could someone please advice me how can I fix this issue?

Thanks..

Last edited by zawaye (2018-05-31 12:49:40)

Offline

#2 2018-05-29 13:52:52

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,145

Re: Notification Issue (Solved)

HI,
check setup>automatic actions>[queuednotifications]

is it running or pending ?
is mode set to GLPI or CLI ?

If set ti CLI mode : did you set a cron on your server ?


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#3 2018-05-29 22:06:47

machadomall
Member
From: Brazil, Brasilia, DF
Registered: 2011-10-30
Posts: 208

Re: Notification Issue (Solved)

Example:

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

Edit file "/etc/crontab"
nano /etc/crontab
Insert text:

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

Att;


Márcio Machado
Brasília-DF / Brasil

Offline

#4 2018-05-30 05:33:04

zawaye
Member
Registered: 2018-05-29
Posts: 5

Re: Notification Issue (Solved)

Dear Ladenree,

Thanks for your reply. I already checked [Queuednotifications]. Its status is running and mode is GLPI. Could you suggest me further more, please?


Dear Machadomall,

Thanks for your reply. I have been inserted as your instruction. I will let you know it work or not.



Thanks & regards,
Zaw Aye

Offline

#5 2018-05-30 07:21:44

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,145

Re: Notification Issue (Solved)

Hi,
running  means  stuck
Stop action with the small cross. It should work again

IN GLPI mode action are triggered by actions in GLPI ( ticket creation, resolutions...) . this means that when there are no activity on GLPI ( coffee time, overnight, week end...) notifications are not send.

In CLI mode actions are triggered by CRON, this is much more accurate and reliable.( set your cron as described by mashadomall, this will work for every action in CLI mode)

edit :  machadomall setting are assuming your server runs LINUX. ( setting cron is a bit different for windows server)


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#6 2018-05-30 08:48:33

zawaye
Member
Registered: 2018-05-29
Posts: 5

Re: Notification Issue (Solved)

Dear LaDenree,

Thank you so much for your suggestion and sharing knowledge. I will change to CLI mode and change as Mashadomall instruction. After that, I will let you know it work or not.

Thanks & Best Regards...

Offline

#7 2018-05-30 12:00:08

zawaye
Member
Registered: 2018-05-29
Posts: 5

Re: Notification Issue (Solved)

Although I will change to CLI mode and change as Mashadomall instruction, I got the same issue as before. Could you please suggest another way, please?

Offline

#8 2018-05-31 09:54:08

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: Notification Issue (Solved)

machadomall wrote:

Example:

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

Edit file "/etc/crontab"
nano /etc/crontab
Insert text:

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

Att;

If you have php 7 the request with php5 dont work. I changed the request. You can check it in the console / ssh session.
The first one should work in both cases. Only use a line which works.

/usr/bin/php /var/www/html/glpi/front/cron.php 
/usr/bin/php5 /var/www/html/glpi/front/cron.php
/usr/bin/php7 /var/www/html/glpi/front/cron.php


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#9 2018-05-31 12:46:59

zawaye
Member
Registered: 2018-05-29
Posts: 5

Re: Notification Issue (Solved)

My issue have been solved by just creating task scheduler as doing the instruction from the link: http://wiki.glpi-project.org/doku.php?i … ig:crontab which was given by machadomall. Thanks Machadomall & KKAdmin.

Thanks.

Offline

Board footer

Powered by FluxBB