how to Automatize Stat with Cron

Hi, I want to automatically send a weekly report via email (AcumulationTickets), automating it in a Cron job, I think I need to use the "otrs.GenerateStats.pl" script. I want to to fix the date range to only last week in the report web interface, or send the date range to the script. Because when Im generating my reports is required to enter a date range, so in this part I need to leave it unset. https://dl.dropbox.com/u/6443236/otrs/01%20Restrinctions.png This change causes that each creation of reports asked me to put the date range in the web interface https://dl.dropbox.com/u/6443236/otrs/02%20restrictions.png In this way, I want to pass these parameters (date range) to my otrs script (otrs.GenerateStats.pl), but I do not know how to pass it, or the way of make a stat that show the last week avoiding otrs.GenerateStats.pl parameters. Otrs: 3.1.2 SO: GNU/Linux Debian Regards. -- PROCURADURIA GENERAL DE JUSTICIA DEL ESTADO Departamento de Desarrollo y Mantenimiento Informático Ext. 1144 --

How I can send my date range statistic? In truth, the documentation is very poor in this topic I probe as follows with p parameter: ./otrs.GenerateStats.pl -n 10023 -o /home/martinbarriga/ -f Print -p 'Format=GD::Graph::linespoints&GraphSize=1200x800' -p 'Year=2012&Month=06&Day=01' regards De: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de Soporte Informatica PGJE Enviado el: martes, 10 de julio de 2012 11:15 a.m. Para: dev@otrs.org; otrs@otrs.org Asunto: [otrs] how to Automatize Stat with Cron Hi, I want to automatically send a weekly report via email (AcumulationTickets), automating it in a Cron job, I think I need to use the "otrs.GenerateStats.pl" script. I want to to fix the date range to only last week in the report web interface, or send the date range to the script. Because when Im generating my reports is required to enter a date range, so in this part I need to leave it unset. https://dl.dropbox.com/u/6443236/otrs/01%20Restrinctions.png This change causes that each creation of reports asked me to put the date range in the web interface https://dl.dropbox.com/u/6443236/otrs/02%20restrictions.png In this way, I want to pass these parameters (date range) to my otrs script (otrs.GenerateStats.pl), but I do not know how to pass it, or the way of make a stat that show the last week avoiding otrs.GenerateStats.pl parameters. Otrs: 3.1.2 SO: GNU/Linux Debian Regards. -- PROCURADURIA GENERAL DE JUSTICIA DEL ESTADO Departamento de Desarrollo y Mantenimiento Informático Ext. 1144 --

I want to to fix the date range to only last week in the report web interface
So do that (?) I see you *can't* in your interface (01 restrictions). You
haven't provided enough information to figure out why, but you should be
able to include relative time in step 4 of the stat *most* of the time.
According to the code, "
How I can send my date range statistic? In truth, the documentation is very poor in this topic
****
I probe as follows with –p parameter:****
./otrs.GenerateStats.pl -n 10023 -o /home/martinbarriga/ -f Print -p 'Format=GD::Graph::linespoints&GraphSize=1200x800'****
****
-p 'Year=2012&Month=06&Day=01'****
** **
regards****
** **
** **
*De:* otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] *En nombre de *Soporte Informatica PGJE *Enviado el:* martes, 10 de julio de 2012 11:15 a.m. *Para:* dev@otrs.org; otrs@otrs.org *Asunto:* [otrs] how to Automatize Stat with Cron****
** **
Hi, ****
** **
I want to automatically send a weekly report via email (AcumulationTickets), automating it in a Cron job, I think I need to use the "otrs.GenerateStats.pl" script. I want to to fix the date range to only last week in the report web interface, or send the date range to the script. Because when I’m generating my reports is required to enter a date range, so in this part I need to leave it unset.****
https://dl.dropbox.com/u/6443236/otrs/01%20Restrinctions.png****
** **
This change causes that each creation of reports asked me to put the date range in the web interface****
https://dl.dropbox.com/u/6443236/otrs/02%20restrictions.png****
** **
In this way, I want to pass these parameters (date range) to my otrs script (otrs.GenerateStats.pl), but I do not know how to pass it, or the way of make a stat that show the last week avoiding otrs.GenerateStats.plparameters. ****
** **
Otrs: 3.1.2****
SO: GNU/Linux Debian****
** **
Regards.****
** **
--****
PROCURADURIA GENERAL DE JUSTICIA DEL ESTADO****
Departamento de Desarrollo y Mantenimiento Informático****
Ext. 1144****
--****
** **
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi,
I wrote an post on what I wanted to do and the solution that implements
http://www.elrincondemartin.org/2012/07/otrs-stat-from-last-week-last-month.
html
regards
De: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] En nombre de Gerald
Young
Enviado el: sábado, 14 de julio de 2012 03:37 p.m.
Para: User questions and discussions about OTRS.
Asunto: Re: [otrs] how to Automatize Stat with Cron
I want to to fix the date range to only last week in the report web
interface
So do that (?) I see you *can't* in your interface (01 restrictions). You
haven't provided enough information to figure out why, but you should be
able to include relative time in step 4 of the stat *most* of the time.
According to the code, "
participants (2)
-
Gerald Young
-
Soporte Informatica PGJE