Sovled: create statistics regularly

Moderator: crythias

Post Reply
skilled
OTRS newbie
Posts: 69
Joined: 11 Apr 2018, 13:53
OTRS Version?: 6.0.16

Sovled: create statistics regularly

Post by skilled »

Hello all,
OTRS : 6.0.16
I want to create statistics(list) regularly for one queue, but it should be created and sent every Monday automatically to the specified email.
the goal of this point:
to monitor the tickets of this queue from one employee

How I could do that? or could I that in OTRS?

Thanks
Last edited by skilled on 09 May 2019, 09:21, edited 1 time in total.

root
Moderator
Posts: 2309
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: create statistics regularly

Post by root »

Hi,

IUse Cronjobs and otrs.Console.pl for generating and send stats.

- Roy
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

skilled
OTRS newbie
Posts: 69
Joined: 11 Apr 2018, 13:53
OTRS Version?: 6.0.16

Re: create statistics regularly

Post by skilled »

root wrote:
08 May 2019, 12:18
Hi,

IUse Cronjobs and otrs.Console.pl for generating and send stats.

- Roy
Hi Roy,

could you please explain more or could you give an example for this task?

Thanks

root
Moderator
Posts: 2309
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: create statistics regularly

Post by root »

Hi,

Just run bin/otrs.Console.pl Maint::Stats::Generate and see the available options.

- Roy
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

skilled
OTRS newbie
Posts: 69
Joined: 11 Apr 2018, 13:53
OTRS Version?: 6.0.16

Re: create statistics regularly

Post by skilled »

Thanks Roy.

i could did this task with cron job as you said:

shell> crontab -e
15 19 * * 2 $HOME/bin/otrs.Console.pl Maint::Stats::Generate --number 10036 --target-filname"Weekly Report" --format Print --mail-recipient username@mail.com --mail-body"This is weekly report"

it should send a report on 19:15 o'clock every Tuesday with name Weekly Report

Post Reply