ispCP - Board - Support
Server statistics are all zero - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Server statistics are all zero (/thread-6676.html)

Pages: 1 2


RE: Server statistics are all zero - AnK - 05-26-2009 07:36 PM

As mentioned before I copied /etc/ispcp/cron.d/backup/ispcp to /etc/cron.d/ispcp and this solved the issue,
but what is the reason for the bad minute error?

I have done a diff before overwriting the file, in the backup file there are no awstats tasks.
So does this error happens everytime when a new domain is added?


RE: Server statistics are all zero - datashaman - 05-26-2009 07:51 PM

If there's any macros in the minute column of the cron file, then it will complain.

The following example illustrates what I mean:

{ENABLE_AWSTATS}0 * * * ...

Should read

#0 * * *

if disabled, and

0 * * *

if enabled.

So, the generator didn't generate the file correctly. Which raises errors when cron tries to use it.

I doubt it happens every time, I 've made changes to my domains, and it's still correct.