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 2017-03-16 09:49:18

nikit0ss
Guest
Registered: 2016-08-31
Posts: 24

REPOST - New Version 9.1.2 and new Problem MAILGARE(cron)

after update 9.1.1 to 9.1.2 "maingate" Stopped working automatically/
I mean that tasks from the mailbox are not automatically added
Only by manually pressing the receive button
OS Centos 6.8
crontab -e
*/5 * * * * /usr/bin/php /var/www/html/glpi/front/cron.php &>/dev/null

what`s wrong?
P.S. - not work
*/1 * * * * apache /usr/bin/php /var/www/html/glpi/front/cron.php &>;/dev/null
or
*/5 * * * * /usr/bin/php /var/www/html/glpi/front/cron.php &>;/dev/null
/usr/bin/php - corect path
/var/www/html/glpi/front/cron.php - correct path
php-cli - installed. latest.

[[email protected] ~]# crontab -l
*/1 * * * * /usr/bin/php /var/www/glpi/front/cron.php &>;/dev/null

I try and not work:
*/1 * * * * /usr/bin/php /var/www/glpi/front/cron.php > /dev/null 2>&1
or
*/1 * * * * /usr/bin/php /var/www/glpi/front/cron.php >

this work on shell
[[email protected] ~]# /usr/bin/php /var/www/html/glpi/front/cron.php

this not work  on shell
[[email protected] ~]# */1 * * * * /usr/bin/php /var/www/glpi/front/cron.php > /dev/null 2>&1

this not work  on shell
[[email protected] ~]# /usr/bin/php /var/www/html/glpi/front/cron.php &>;/dev/null
-bash: syntax error near unexpected token `;

this not work on shell
[[email protected] ~]# /usr/bin/php /var/www/html/glpi/front/cron.php &>:/dev/null
-bash: :/dev/null: none file or folder

CRON LOG:
Mar 15 07:16:01 CNFPDCIT01 CROND[32029]: (root) CMD (/usr/bin/php /var/www/glpi/front/cron.php &>;/dev/null)
Mar 15 07:17:01 CNFPDCIT01 CROND[32035]: (root) CMD (/usr/bin/php /var/www/glpi/front/cron.php &>;/dev/null)
Mar 15 07:18:01 CNFPDCIT01 CROND[32042]: (root) CMD (/usr/bin/php /var/www/glpi/front/cron.php &>;/dev/null)
Mar 15 07:19:01 CNFPDCIT01 CROND[32072]: (root) CMD (/usr/bin/php /var/www/glpi/front/cron.php &>;/dev/null)

GUYS!..

i`am fix it!
F**King time

mail server time 12:20:05
glpi server time 12:24:11

synchronization time fix this problem

Last edited by nikit0ss (2017-03-16 11:30:21)

Offline

Board footer

Powered by FluxBB