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 2011-10-12 09:41:35

Rachel
Member
Registered: 2011-10-12
Posts: 7

Send alerts on reservations of Automatic actions

Hi, I'm use 0.80.4 now, but I found the function of sending alerts on reservations have some problems. I set alert on reservations for one hour, and open the automatic actions, but a hour before maturity or afer maturity, it won't send email . Sometimes I refresh the page, it will send email. And I have another problem, when I set run frequency of automatic actions, but it won't execute.

Offline

#2 2011-10-12 22:08:22

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Send alerts on reservations of Automatic actions

Configuration of alerts ?
Configuration of crontask ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2011-10-13 03:56:46

Rachel
Member
Registered: 2011-10-12
Posts: 7

Re: Send alerts on reservations of Automatic actions

Hi yllen

In setup->Notification->Alarms options, set the alerts on reservations for a hour. Does it mean send email alerts before a hour of the end date of reservation ?

In setup->Automatic actions, If I set the run frequency of ocsng for 30 minutes, but after 30 minutes it won't execute, the run mode is GLPI, and run period is 0->24, number of days this action logs are stored is 30 days.

And I want to know the difference between GLPI and CLI.

Thanks

Offline

#4 2011-10-13 05:48:54

Rachel
Member
Registered: 2011-10-12
Posts: 7

Re: Send alerts on reservations of Automatic actions

And I found some information in the forum about the run mode, glpi and CLI.

It said CLI was always run in everytime you set, if I set run frequnce is 30 minutes,it will run after 30 minutes.

But after 30 min, it won't send email. And the receiver has set well.

My glpi is in windows ,mysql+php+apache.....

Offline

#5 2011-10-14 09:42:43

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Send alerts on reservations of Automatic actions

GLPI : action is activate by navigate in GLPI
CLI : action is active by an external cron (automatic task in windows or cron task in linux)


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#6 2011-10-18 04:23:29

Rachel
Member
Registered: 2011-10-12
Posts: 7

Re: Send alerts on reservations of Automatic actions

Thanks yllen.

And I want to know what need I set except Home-> set up->Automatic actions.Should I set entities or Receivers?

And you said CLI is active by an external cron, and I set . But last time I excute on last friday, and I found the excute time still on last friday when I open today.

Offline

#7 2011-10-18 09:16:51

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Send alerts on reservations of Automatic actions

Rachel wrote:

And I want to know what need I set except Home-> set up->Automatic actions.Should I set entities or Receivers?

You must create your notification based on Occurrence Alert.
In this notification you define yours receivers

Rachel wrote:

And you said CLI is active by an external cron, and I set . But last time I excute on last friday, and I found the excute time still on last friday when I open today.

What is the frequency of launching of your external cron ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#8 2011-10-19 05:41:29

Rachel
Member
Registered: 2011-10-12
Posts: 7

Re: Send alerts on reservations of Automatic actions

Thanks yllen.

1.I set well in Home->setup->notifications->notifications,in it,I set the recipients. If I take a new reservation,  it will send email.

2.I set the frequency is 30 minutes or a hour, and set the run mode is CLI, but the time is gone ,it won't excute. And I haven't set  rules and entities.

Offline

#9 2011-10-19 18:37:02

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Send alerts on reservations of Automatic actions

You don't have reply to my question


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#10 2011-10-20 03:27:52

Rachel
Member
Registered: 2011-10-12
Posts: 7

Re: Send alerts on reservations of Automatic actions

Hi yllen,

You said I should set the receivers in the notification, I set. And it works.

And you asked me the frequency of launching of my external cron , I said I set the run frequency is 30 minutes, sometimes I set a hour. And I set the run mode is CLI, why it is not run?

If I have not set some things?

Offline

Board footer

Powered by FluxBB