Current time: 11-27-2024, 05:56 PM Hello There, Guest! (LoginRegister)


Post Reply 
Domain Disk and Traffic Usage Report
Author Message
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #9
RE: Domain Disk and Traffic Usage Report
(10-08-2008 05:13 AM)DaSilva Wrote:  Can you add a date -1 month like:

"=== ispCP - Domain Disk and Traffic Usage Report for 09.2008 ==="

I've added a date to the header, like this:
Code:
=== ispCP - Domain Disk and Traffic Usage Report (YYYY-MM-DD) ===

Quote:because I want to add the cronjob every first day in a month at 0:00.

You shouldn't do this because you'll get zero traffic always... This script reports the traffic of the current months, so you'll have to run it on the last day of each month, but this will be a bit difficult with cron ... you could run it on 28nd of each month, maybe..

victor531 Wrote:..., but the mails arrive alone without any report.

As BeNe said, I assume your script isn't executable... Anyway you can try to execute
Code:
/home/ispcp-domainreport.pl
directly on the command line.. it'll show you the report - or the reason why it shows no report Wink

Regards
FeG


Attached File(s)
.txt  ispcp-domainreport.pl.txt (Size: 2.99 KB / Downloads: 119)
10-08-2008 06:46 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Domain Disk and Traffic Usage Report - FeG - 10-06-2008, 10:19 PM
RE: Domain Disk and Traffic Usage Report - FeG - 10-08-2008 06:46 PM

Forum Jump:


User(s) browsing this thread: 6 Guest(s)