statistics report as mail

Moderator: crythias

Locked
Ann
Znuny newbie
Posts: 27
Joined: 27 Jan 2012, 07:56
Znuny Version: 3.0.9
Real Name: Ann
Company: SGSSoft

statistics report as mail

Post by Ann »

Hi,

Is it possible that we can generate some daywise automatic reports say closed and open ticket and mail it automatically on some configured id. I have already raised this question.But i didn't get an correct answer...
55 8 * * mon,tue,wed,thu,fri /opt/otrs/bin/otrs.GenerateStats.pl -n 10014 -r support@myorg -s helpdesk@myorg -f Print -m "Report attached as PDF" > /dev/null 2>&1
This was the code given to me as a solution.But i don't know where i should i have to write this.....
Anybody please tell me the steps to send the report as mail for every day....pls....

Thanks.
micshi
Znuny expert
Posts: 191
Joined: 05 Jul 2011, 16:10
Znuny Version: 3.2.2
Real Name: Micshi
Location: Beijing
Contact:

Re: statistics report as mail

Post by micshi »

You shoud set up a cron job for your schedual statistics report. Read admin manual on this part http://docu.otrs.org/3.0/en/html/manual ... l#cronjobs.
OTRS 3.2.2, ITSM 3.2.2, SystemMonitor
Ubuntu, Apache2, MySQL 5
My OTRS Blog
OTRS Basic Concept Training
OTRS Demo Instance
Ann
Znuny newbie
Posts: 27
Joined: 27 Jan 2012, 07:56
Znuny Version: 3.0.9
Real Name: Ann
Company: SGSSoft

Re: statistics report as mail

Post by Ann »

Hi,
30 16 * * mon,tue,wed,thu,fri /opt/otrs/bin/otrs.GenerateStats.pl -n 10014 -r info.sgssoft.net -s jinujose@sgssoft.net -f Print -m "Report attached as PDF" > /dev/null 2>&1
this is the cron job i created.but now also its not sending report as mail...
Anybody please tell where i do wrong.....

Thanks
Locked