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
Sovled: create statistics regularly
Moderator: crythias
Sovled: create statistics regularly
Last edited by skilled on 09 May 2019, 09:21, edited 1 time in total.
-
- Administrator
- Posts: 3961
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: create statistics regularly
Hi,
IUse Cronjobs and otrs.Console.pl for generating and send stats.
- Roy
IUse Cronjobs and otrs.Console.pl for generating and send stats.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Administrator
- Posts: 3961
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: create statistics regularly
Hi,
Just run bin/otrs.Console.pl Maint::Stats::Generate and see the available options.
- Roy
Just run bin/otrs.Console.pl Maint::Stats::Generate and see the available options.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: create statistics regularly
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
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