![]() |
Domain Disk and Traffic Usage Report - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Enhancements (/forum-43.html) +--- Thread: Domain Disk and Traffic Usage Report (/thread-4624.html) |
RE: Domain Disk and Traffic Usage Report - FeG - 10-08-2008 10:05 PM Hi, (10-08-2008 07:29 PM)aseques Wrote: Note: It's too late for this to be added to 1.0.0? I suppose it is too late, since no new features are applied anymore - afaik. But that has to be decided by developers, not by me... At least the script is so easy to install that it would be no tragedy if it'll be not added to 1.0.0 .. ![]() Regards FeG RE: Domain Disk and Traffic Usage Report - DaSilva - 10-09-2008 03:53 AM (10-08-2008 06:46 PM)FeG Wrote:(10-08-2008 05:13 AM)DaSilva Wrote: Can you add a date -1 month like: Thanks, I will try it out. ![]() Now I have added this cronjob: 59 23 31 1,3,5,7,8,10,12 * /etc/ispcp/ispcp-domainreport-cronjob.sh 59 23 30 4,6,9,11 * /etc/ispcp/ispcp-domainreport-cronjob.sh 59 23 28 2 * /etc/ispcp/ispcp-domainreport-cronjob.sh RE: Domain Disk and Traffic Usage Report - victor531 - 10-09-2008 06:50 AM Hi, Thanks BeNe, you are right, my script didn't have writing permission, now , it work's fine ![]() Saludos cordiales Victor RE: Domain Disk and Traffic Usage Report - aseques - 01-16-2009 12:59 AM Is there anyone that has updated this script to group the results by distributor? Having a monthly summary send by mail would be very useful RE: Domain Disk and Traffic Usage Report - BeNe - 01-16-2009 06:06 AM Quote:Is there anyone that has updated this script to group the results by distributor?I know none. But it is more or less a simple SQL Query. You can try to use "ORDER BY" Greez BeNe RE: Domain Disk and Traffic Usage Report - pgentoo - 01-20-2009 01:55 PM Great contribution. I'm sure this (or a version of it) will make it in post 1.0. ![]() Just an FYI, if you are running gentoo, you'll need to install the "mailx" package. - pGentoo RE: Domain Disk and Traffic Usage Report - crafter - 01-16-2010 09:56 AM I'm not meaning to hijack the thread, but I have created a PHP version that does the same thing and then sends out an email to the customer if there is overusage. What's missing is the calculation for a reseller, as the reseller would normally be the party that is billed for overusage, which they will pass to their own clients. Also useful for the reseller is to provide a breakdown by owned domains. Regards Pradesh RE: Domain Disk and Traffic Usage Report - fulltilt - 01-17-2010 01:38 AM nice works - should a daily cron job run the script? (01-16-2010 09:56 AM)crafter Wrote: I'm not meaning to hijack the thread, but I have created a PHP version that does the same thing and then sends out an email to the customer if there is overusage. RE: Domain Disk and Traffic Usage Report - crafter - 01-17-2010 06:13 AM Yes, fulltilt I schedule it for midnight: - In /etc/cron.d/daily/ispcp --------------------------------------------------------- # resource usage - send email to customer - added by Pradesh - 2009/11/07 @daily root php /var/www/ispcp/engine/tools/usage_reports.php &>/var/log/ispcp/usage_reports.log --------------------------------------------------------- You can guess that I installed the script in var/www/ispcp/engine/tools/usage_reports.php RE: Domain Disk and Traffic Usage Report - fulltilt - 01-26-2010 03:48 AM getting some errors: Code: /var/www/ispcp/engine/tools/usage_reports.php: line 1: ?php: No such file or directory |